We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30d20f0 commit 6acef3cCopy full SHA for 6acef3c
src/Makefile.tcmalloc
@@ -1,5 +1,5 @@
1
#CXX=clang++
2
-LDFLAGS=-lpthread
+LDFLAGS=-lpthread -ltcmalloc_minimal
3
OBJ_DIR = obj
4
TEST_OBJ_DIR=$(OBJ_DIR)/test
5
APP=kanzi
@@ -122,8 +122,6 @@ libdecomp: $(STATIC_DECOMP_LIB) $(SHARED_DECOMP_LIB)
122
123
lib: $(STATIC_LIB) $(SHARED_LIB)
124
125
-LIB_TCMALLOC=/usr/local/lib/libtcmalloc.a
126
-
127
# Create static libraries
128
$(STATIC_LIB):$(LIB_OBJECTS)
129
$(AR) cr ../lib/$@ $+
@@ -164,7 +162,7 @@ test: testBWT testTransforms testEntropyCodec testDefaultBitStream testCompresse
164
162
165
163
# Target for the main application
166
kanzi: $(LIB_OBJECTS) $(APP_OBJECTS)
167
- $(CXX) $^ -o ../bin/$@ $(LIB_TCMALLOC) $(LDFLAGS)
+ $(CXX) $^ -o ../bin/$@ $(LDFLAGS)
168
169
all: lib test $(APP)
170
0 commit comments