Add -static-libgcc option for Mac targets

This commit is contained in:
Taro L. Saito 2011-05-27 17:11:03 +09:00
parent 455c378295
commit 41bb30d8d1
2 changed files with 2 additions and 2 deletions

View File

@ -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 :=