summaryrefslogtreecommitdiff
path: root/test/Makefile.tests
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile.tests')
-rw-r--r--test/Makefile.tests11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/Makefile.tests b/test/Makefile.tests
index bb2bb881f1..1c08aec6c1 100644
--- a/test/Makefile.tests
+++ b/test/Makefile.tests
@@ -77,7 +77,16 @@ ifeq ($(TRACEM), yes)
TRACELIBS := -L$(LEVEL)/test/Libraries/Output -linstr.$(ARCH)
endif
-LLCLIBS += -lm
+POOLFLAGS =
+DOPOOLALLOC =
+## If POOLALLOC is "yes", set the opt flag and the POOLLIBS varoab;e
+ifeq ($(POOLALLOC), yes)
+ POOLFLAGS += -poolalloc
+ DOPOOLALLOC = yes
+ POOLLIBS := -L$(LEVEL)/test/Libraries/Output
+endif
+
+LLCLIBS := $(LLCLIBS) -lm
clean::
$(RM) -f a.out core