diff options
author | Vaclav Vobornik <git@vobornik.eu> | 2013-06-12 14:46:16 +0200 |
---|---|---|
committer | Vaclav Vobornik <git@vobornik.eu> | 2013-06-12 14:46:16 +0200 |
commit | 1d626952f9fac57b8febec6bfad14b059b4184d8 (patch) | |
tree | faae6e585152992a35af9032ec5340f4372d0506 /src/leveldb | |
parent | d1020b780a1493c6a709f70756b2af54a7126f40 (diff) |
Added GNU/kFreeBSD kernel name (TARGET_OS)
uname -s returns "GNU/kFreeBSD" on Debian GNU/kFreeBSD port. See http://www.debian.org/ports/kfreebsd-gnu/
Diffstat (limited to 'src/leveldb')
-rwxr-xr-x | src/leveldb/build_detect_platform | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/leveldb/build_detect_platform b/src/leveldb/build_detect_platform index 609cb51224..a3ad057eee 100755 --- a/src/leveldb/build_detect_platform +++ b/src/leveldb/build_detect_platform @@ -94,6 +94,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" |