aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2015-05-02 07:08:52 +0800
committerzi <zi@FreeBSD.org>2015-05-02 07:08:52 +0800
commit6adb4a5b5e4770e30d9d10fa14e152bf4c8607be (patch)
treed69ee97302fa1aeb1ed1eed9fbca5a1d99d9abd6 /databases
parenteb54d1669e20c0d3f5b534dab182088ebdc6f894 (diff)
downloadfreebsd-ports-gnome-6adb4a5b5e4770e30d9d10fa14e152bf4c8607be.tar.gz
freebsd-ports-gnome-6adb4a5b5e4770e30d9d10fa14e152bf4c8607be.tar.zst
freebsd-ports-gnome-6adb4a5b5e4770e30d9d10fa14e152bf4c8607be.zip
- Fix build when using FreeBSD older than 10.0
Diffstat (limited to 'databases')
-rw-r--r--databases/rocksdb/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/databases/rocksdb/Makefile b/databases/rocksdb/Makefile
index 89028824a2d6..a85301227d32 100644
--- a/databases/rocksdb/Makefile
+++ b/databases/rocksdb/Makefile
@@ -29,6 +29,10 @@ PROGRAMS= db_bench db_repl_stress db_sanity_test db_stress ldb log_and_apply_ben
.include <bsd.port.pre.mk>
+.if ${OSVERSION} <= 1000000
+CFLAGS+= -D_GLIBCXX_USE_C99
+.endif
+
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 36
CXXFLAGS+= -Wno-inconsistent-missing-override
.endif