Skip to content

Commit 6acef3c

Browse files
committed
Cosmetic changes
1 parent 30d20f0 commit 6acef3c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Makefile.tcmalloc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#CXX=clang++
2-
LDFLAGS=-lpthread
2+
LDFLAGS=-lpthread -ltcmalloc_minimal
33
OBJ_DIR = obj
44
TEST_OBJ_DIR=$(OBJ_DIR)/test
55
APP=kanzi
@@ -122,8 +122,6 @@ libdecomp: $(STATIC_DECOMP_LIB) $(SHARED_DECOMP_LIB)
122122

123123
lib: $(STATIC_LIB) $(SHARED_LIB)
124124

125-
LIB_TCMALLOC=/usr/local/lib/libtcmalloc.a
126-
127125
# Create static libraries
128126
$(STATIC_LIB):$(LIB_OBJECTS)
129127
$(AR) cr ../lib/$@ $+
@@ -164,7 +162,7 @@ test: testBWT testTransforms testEntropyCodec testDefaultBitStream testCompresse
164162

165163
# Target for the main application
166164
kanzi: $(LIB_OBJECTS) $(APP_OBJECTS)
167-
$(CXX) $^ -o ../bin/$@ $(LIB_TCMALLOC) $(LDFLAGS)
165+
$(CXX) $^ -o ../bin/$@ $(LDFLAGS)
168166

169167
all: lib test $(APP)
170168

0 commit comments

Comments
 (0)