Added POOLFLAGS option to run pool allocation

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7624 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sumant Kowshik 2003-08-06 01:03:28 +00:00
parent 7496ec51b8
commit c961a2923b

View File

@ -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