Skip to content

Commit 882ebf3

Browse files
committed
Build linux amd64 native lib. Disabled -static-libstdc++
1 parent c284cc6 commit 882ebf3

File tree

3 files changed

+1
-25
lines changed

3 files changed

+1
-25
lines changed

Makefile.common

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Linux-i386_SNAPPY_FLAGS:=
6868
Linux-amd64_CXX := $(CROSS_PREFIX)g++
6969
Linux-amd64_STRIP := $(CROSS_PREFIX)strip
7070
Linux-amd64_CXXFLAGS := -include lib/inc_linux/jni_md.h -I$(JAVA_HOME)/include -O2 -fPIC -fvisibility=hidden -m64
71-
Linux-amd64_LINKFLAGS := -shared -static-libgcc -static-libstdc++
71+
Linux-amd64_LINKFLAGS := -shared -static-libgcc # -static-libstdc++
7272
Linux-amd64_LIBNAME := libsnappyjava.so
7373
Linux-amd64_SNAPPY_FLAGS :=
7474

src/main/java/org/xerial/snappy/SnappyNative.h

-24
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

0 commit comments

Comments
 (0)