blob: acb04b8ab81b273449dedd5bd5f091da77b23c58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/Makefile b/Makefile
index 3795115..28a9418 100755
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,7 @@ memhog: util.o memhog.o libnuma.so
numactl.o: numactl.c
-numademo: override LDFLAGS += -lm
+numademo: LDLIBS += -lm
# GNU make 3.80 appends BENCH_CFLAGS twice. Bug? It's harmless though.
numademo: CFLAGS += -DHAVE_STREAM_LIB -DHAVE_MT -DHAVE_CLEAR_CACHE ${BENCH_CFLAGS}
stream_lib.o: CFLAGS += ${BENCH_CFLAGS}
|