Date: Sat, 7 Jan 2017 15:26:08 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430799 - head/databases/rocksdb Message-ID: <201701071526.v07FQ8od049521@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Jan 7 15:26:08 2017 New Revision: 430799 URL: https://svnweb.freebsd.org/changeset/ports/430799 Log: Fix build with GCC prior to 6.0 PR: 193528 Notified by: jbeich Modified: head/databases/rocksdb/Makefile Modified: head/databases/rocksdb/Makefile ============================================================================== --- head/databases/rocksdb/Makefile Sat Jan 7 15:23:17 2017 (r430798) +++ head/databases/rocksdb/Makefile Sat Jan 7 15:26:08 2017 (r430799) @@ -54,6 +54,10 @@ ZSTD_LIB_DEPENDS= libzstd.so:archivers/z CXXFLAGS+= -Wno-inconsistent-missing-override .endif +.if ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} < 60 +CFLAGS+= -D_GLIBCXX_USE_C99 +.endif + post-patch: @${REINPLACE_CMD} -e '/^all: / s| $$(TESTS)||; /^dummy :=/d' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's| -fno-builtin-memcmp||; s| -ltcmalloc||' ${WRKSRC}/build_tools/build_detect_platform
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701071526.v07FQ8od049521>