diff options
| author | Pieter Wuille <[email protected]> | 2013-06-22 10:05:18 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2013-06-22 10:05:18 -0700 |
| commit | 48628fd98c587a557c9b3dc9eefed1bd5d20725e (patch) | |
| tree | 928c5b56b53e9296da802a1ce716ab247211d80c | |
| parent | Merge pull request #2768 from fanquake/brew-makefile-patch-fix (diff) | |
| parent | Added GNU/kFreeBSD kernel name (TARGET_OS) (diff) | |
| download | discoin-48628fd98c587a557c9b3dc9eefed1bd5d20725e.tar.xz discoin-48628fd98c587a557c9b3dc9eefed1bd5d20725e.zip | |
Merge pull request #2765 from vobornik/master
recognize Debian kFreeBSD port by build_detect_platform script
| -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 609cb5122..a3ad057ee 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" |