Browse Source

Merge pull request #2765 from vobornik/master

recognize Debian kFreeBSD port by build_detect_platform script
0.10
Pieter Wuille 12 years ago
parent
commit
48628fd98c
  1. 6
      src/leveldb/build_detect_platform

6
src/leveldb/build_detect_platform

@ -94,6 +94,12 @@ case "$TARGET_OS" in
PLATFORM_LIBS="-lpthread" PLATFORM_LIBS="-lpthread"
PORT_FILE=port/port_posix.cc 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) NetBSD)
PLATFORM=OS_NETBSD PLATFORM=OS_NETBSD
COMMON_FLAGS="$MEMCMP_FLAG -D_REENTRANT -DOS_NETBSD" COMMON_FLAGS="$MEMCMP_FLAG -D_REENTRANT -DOS_NETBSD"

Loading…
Cancel
Save