aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/t_test1/Makefile
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-02-27 12:55:18 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-02-27 12:55:18 +0100
commit45984a6b6d9c32c00e00153b90e9208788981ab3 (patch)
tree949d1c662b1d1648c8baf2c50ade85ff930566d9 /src/benchmarks/t_test1/Makefile
parent9528aa1ea4a28d5439e205910c3574045564d402 (diff)
downloadallocbench-45984a6b6d9c32c00e00153b90e9208788981ab3.tar.gz
allocbench-45984a6b6d9c32c00e00153b90e9208788981ab3.zip
remove unused code and compiler flags from t-test1
Diffstat (limited to 'src/benchmarks/t_test1/Makefile')
-rw-r--r--src/benchmarks/t_test1/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/benchmarks/t_test1/Makefile b/src/benchmarks/t_test1/Makefile
index 109e9a6..62a62ee 100644
--- a/src/benchmarks/t_test1/Makefile
+++ b/src/benchmarks/t_test1/Makefile
@@ -1,5 +1,5 @@
# Makefile for t-test1 from ptmalloc, version 2
-# by Florian Fischer 2019
+# by Florian Fischer 2019, 2020
# derived from
# Makefile for ptmalloc, version 2
# by Wolfram Gloger 1996-1999, 2001, 2002, 2003, 2004, 2006
@@ -16,17 +16,15 @@ WARN_FLAGS ?= -Wall -Wstrict-prototypes
T_FLAGS = -DTEST=1
# Thread flags.
-# See the platform-specific targets below.
-THR_FLAGS = -DUSE_TSD_DATA_HACK -D_REENTRANT
THR_LIBS = -lpthread
RM = rm -f
-CFLAGS ?= $(SYS_FLAGS) $(OPT_FLAGS) $(WARN_FLAGS) $(THR_FLAGS)
+CFLAGS ?= $(SYS_FLAGS) $(OPT_FLAGS) $(WARN_FLAGS)
all: $(OBJDIR)/t-test1
-$(OBJDIR)/t-test1: t-test1.c t-test.h | $(OBJDIR)
+$(OBJDIR)/t-test1: t-test1.c | $(OBJDIR)
@echo compiling $@
$(CC) $(CFLAGS) $(T_FLAGS) t-test1.c $(THR_LIBS) -o $@