mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 22:50:32 -04:00
Changelog: https://github.com/basho/riak/blob/1.4/RELEASE-NOTES.md PR: ports/188692 Submitted by: myself Approved by: maintainer (timeout)
29 lines
998 B
Text
29 lines
998 B
Text
--- deps/eleveldb/c_src/leveldb/build_detect_platform.orig 2014-04-02 12:41:11.174611987 +0000
|
|
+++ deps/eleveldb/c_src/leveldb/build_detect_platform 2014-04-02 12:42:31.766605994 +0000
|
|
@@ -134,7 +134,7 @@
|
|
true
|
|
else
|
|
# If -std=c++0x works, use <cstdatomic>. Otherwise use port_posix.h.
|
|
- $CXX $CFLAGS -std=c++0x -x c++ - -o /dev/null 2>/dev/null <<EOF
|
|
+ $CXX $CFLAGS -std=c++0x -x c++ - 2>/dev/null <<EOF
|
|
#include <cstdatomic>
|
|
int main() {}
|
|
EOF
|
|
@@ -147,7 +147,7 @@
|
|
|
|
# Test whether Snappy library is installed
|
|
# http://code.google.com/p/snappy/
|
|
- $CXX $CFLAGS -x c++ - -o /dev/null 2>/dev/null <<EOF
|
|
+ $CXX $CFLAGS -x c++ - 2>/dev/null <<EOF
|
|
#include <snappy.h>
|
|
int main() {}
|
|
EOF
|
|
@@ -157,7 +157,7 @@
|
|
fi
|
|
|
|
# Test whether tcmalloc is available
|
|
- $CXX $CFLAGS -x c++ - -o /dev/null -ltcmalloc 2>/dev/null <<EOF
|
|
+ $CXX $CFLAGS -x c++ - -ltcmalloc 2>/dev/null <<EOF
|
|
int main() {}
|
|
EOF
|
|
if [ "$?" = 0 ]; then
|