Skip to content

Commit

Permalink
Added GNU/kFreeBSD kernel name (TARGET_OS)
Browse files Browse the repository at this point in the history
uname -s returns "GNU/kFreeBSD" on Debian GNU/kFreeBSD port. See http://www.debian.org/ports/kfreebsd-gnu/
  • Loading branch information
vobornik authored and sipa committed Aug 17, 2013
1 parent 8487468 commit a02ddf9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build_detect_platform
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ case "$TARGET_OS" in
PLATFORM_LIBS="-lpthread"
PORT_FILE=port/port_posix.cc
;;
GNU/kFreeBSD)
PLATFORM=OS_KFREEBSD
COMMON_FLAGS="$MEMCMP_FLAG -D_REENTRANT -DOS_KFREEBSD"
PLATFORM_LIBS="-lpthread"
PORT_FILE=port/port_posix.cc
;;
NetBSD)
PLATFORM=OS_NETBSD
COMMON_FLAGS="$MEMCMP_FLAG -D_REENTRANT -DOS_NETBSD"
Expand Down

0 comments on commit a02ddf9

Please sign in to comment.