mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-28 00:50:37 +00:00
Simplified DOTRACING flag.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7135 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0b459204af
commit
781128c4f9
@ -65,6 +65,7 @@ CP = /bin/cp -f
|
|||||||
## If TRACE or TRACEM is "yes", set the appropriate llc flag (-trace or -tracem)
|
## If TRACE or TRACEM is "yes", set the appropriate llc flag (-trace or -tracem)
|
||||||
## mark that tracing on, and set the TRACELIBS variable.
|
## mark that tracing on, and set the TRACELIBS variable.
|
||||||
TRACEFLAGS =
|
TRACEFLAGS =
|
||||||
|
DOTRACING =
|
||||||
ifeq ($(TRACE), yes)
|
ifeq ($(TRACE), yes)
|
||||||
TRACEFLAGS += -trace
|
TRACEFLAGS += -trace
|
||||||
DOTRACING = yes
|
DOTRACING = yes
|
||||||
@ -74,7 +75,7 @@ else
|
|||||||
DOTRACING = yes
|
DOTRACING = yes
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
ifeq ($(DOTRACING), yes)
|
ifdef DOTRACING
|
||||||
TRACELIBS := -L$(LEVEL)/test/Libraries/Output -linstr.$(ARCH)
|
TRACELIBS := -L$(LEVEL)/test/Libraries/Output -linstr.$(ARCH)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user