On 05/12/17 12:05, marius adrian popa wrote:
Known issue in Firebird 3.0.xhttp://firebird.1100200.n4.nabble.com/std-c-11-added-to-CXXFLAGS-in-3-0-on-linux-td4645224.html introduced by this commit https://github.com/FirebirdSQL/firebird/commit/52d9a05a0f3d
I can't check myself mac issues, but sooner of all attached patch should help.
diff --git a/builds/posix/darwin.defaults b/builds/posix/darwin.defaults index 3406cc6..b6acb11 100644 --- a/builds/posix/darwin.defaults +++ b/builds/posix/darwin.defaults @@ -46,3 +46,5 @@ LINK_CLIENT = $(LIB_LINK) $(LINK_FIREBIRD_CLIENT_SYMBOLS) $(LIB_LINK_OPTIONS) $( STATIC_CXX_SUPPORT = -lsupc++ $(GCCS) -lgcc_eh -lSystem INLINE_EDIT_SED:= -i "" + +CXXFLAGS := $(CXXFLAGS) -std=c++11 diff --git a/builds/posix/prefix.darwin_i386 b/builds/posix/prefix.darwin_i386 index 39a3794..35b2763 100644 --- a/builds/posix/prefix.darwin_i386 +++ b/builds/posix/prefix.darwin_i386 @@ -40,3 +40,7 @@ EXE_LINK_OPTIONS:=-m32 LD_FLAGS+=-m32 -arch i386 include $(ROOT)/gen/darwin.defaults + +# This file must be compiled with SSE4.2 support +%/CRC32C.o: COMMON_FLAGS += -msse4 + diff --git a/builds/posix/prefix.darwin_x86_64 b/builds/posix/prefix.darwin_x86_64 index c846a08..c145fd9 100644 --- a/builds/posix/prefix.darwin_x86_64 +++ b/builds/posix/prefix.darwin_x86_64 @@ -41,3 +41,7 @@ FIREBIRD_LIBRARY_LINK+=-liconv UNDEF_PLATFORM= include $(ROOT)/gen/darwin.defaults + +# This file must be compiled with SSE4.2 support +%/CRC32C.o: COMMON_FLAGS += -msse4 +
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel