Add -static-libgcc option for Mac targets
This commit is contained in:
parent
455c378295
commit
41bb30d8d1
|
@ -72,14 +72,14 @@ Linux-amd64_SNAPPY_FLAGS :=
|
|||
Mac-i386_CXX := g++ -arch $(OS_ARCH)
|
||||
Mac-i386_STRIP := strip -x
|
||||
Mac-i386_CXXFLAGS := -I$(JAVA_HOME)/include -O2 -fPIC -mmacosx-version-min=10.4
|
||||
Mac-i386_LINKFLAGS := -dynamiclib
|
||||
Mac-i386_LINKFLAGS := -dynamiclib -static-libgcc
|
||||
Mac-i386_LIBNAME := libsnappy.jnilib
|
||||
Mac-i386_SNAPPY_FLAGS :=
|
||||
|
||||
Mac-x86_64_CXX := g++ -arch $(OS_ARCH)
|
||||
Mac-x86_64_STRIP := strip -x
|
||||
Mac-x86_64_CXXFLAGS := -I$(JAVA_HOME)/include -O2 -fPIC -mmacosx-version-min=10.5
|
||||
Mac-x86_64_LINKFLAGS := -dynamiclib
|
||||
Mac-x86_64_LINKFLAGS := -dynamiclib -static-libgcc
|
||||
Mac-x86_64_LIBNAME := libsnappy.jnilib
|
||||
Mac-x86_64_SNAPPY_FLAGS :=
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue