From 78837254c8dfdd808512ac91d2db714c4db622c5 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Tue, 10 Sep 2019 11:42:58 +0200 Subject: [PATCH] Fixed jemalloc --- libraries/build_jemalloc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/build_jemalloc.sh b/libraries/build_jemalloc.sh index 8d23372..281e936 100755 --- a/libraries/build_jemalloc.sh +++ b/libraries/build_jemalloc.sh @@ -15,7 +15,7 @@ if ! [ -f configure ]; then fi cd build -../configure --enable-munmap +../configure if [ $? -ne 0 ]; then echo "Failed to create makefile" exit 1 @@ -24,7 +24,7 @@ fi (cat Makefile | sed 's/.*$(CC) $(DSO_LDFLAGS) $(call RPATH,$(RPATH_EXTRA)) $(LDTARGET) $+ $(LDFLAGS) $(LIBS) $(EXTRA_LDFLAGS).*/ $(CXX) $(DSO_LDFLAGS) $(call RPATH,$(RPATH_EXTRA)) $(LDTARGET) $+ $(LDFLAGS) $(LIBS) $(EXTRA_LDFLAGS)/') > tmp rm Makefile mv tmp Makefile -make -j 12 LIBS="-pthread -static-libgcc -static-libstdc++ -fPIC" CFLAGS="-static-libgcc -static-libstdc++ -fPIC" CXXFLAGS="-static-libgcc -static-libstdc++ -fPIC" +make build_lib_shared -j 12 LIBS="-pthread -static-libgcc -static-libstdc++ -fPIC" CFLAGS="-static-libgcc -static-libstdc++ -fPIC" CXXFLAGS="-static-libgcc -static-libstdc++ -fPIC" #make -j 12 LIBS="-pthread -static-libgcc -static-libstdc++" CFLAGS="-fPIC" CXXFLAGS="-fPIC" #make -j 12 LIBS="-pthread -lm -l/usr/lib/gcc/x86_64-linux-gnu/5/libstdc++.a" ${MAKE_OPTIONS} CFLAGS="-shared -static-libstdc++ -static-libgcc -fPIC" CXXFLAGS="-static-libstdc++ -static-libgcc -shared -fPIC" if [ $? -ne 0 ]; then