diff --git a/Makefile b/Makefile index ecd86581..6c9dc837 100644 --- a/Makefile +++ b/Makefile @@ -10,8 +10,8 @@ crc32c.o: crc32c.c test: test.cpp g++ -g -O3 -o test -luring test.cpp test_blockstore: $(BLOCKSTORE_OBJS) test_blockstore.cpp - g++ -g -o test_blockstore -luring test_blockstore.cpp $(BLOCKSTORE_OBJS) + g++ -g -o test_blockstore -ltcmalloc_minimal -luring test_blockstore.cpp $(BLOCKSTORE_OBJS) test_allocator: test_allocator.cpp allocator.o g++ -g -o test_allocator test_allocator.cpp allocator.o libfio_blockstore.so: fio_engine.cpp $(BLOCKSTORE_OBJS) - g++ -g -O3 -Wno-pointer-arith -fPIC -shared -luring -o libfio_blockstore.so fio_engine.cpp $(BLOCKSTORE_OBJS) + g++ -g -O3 -ltcmalloc_minimal -Wno-pointer-arith -fPIC -shared -luring -o libfio_blockstore.so fio_engine.cpp $(BLOCKSTORE_OBJS)