mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
* Allow purify builds to be enabled without hacking the makefile. Now you
just have to run: make ENABLE_PURIFY=1 * Add command to the link line that makes the broken GCC 3.0 compiler work without affecting 2.95.3 llvm-svn: 2116
This commit is contained in:
parent
8afff0c29a
commit
59a45b0559
@ -63,8 +63,11 @@ CompileO = $(Compile) -O3 -DNDEBUG -finline-functions -felide-constructors -fnon
|
|||||||
# Link final executable
|
# Link final executable
|
||||||
|
|
||||||
# To enable purify, do it here:
|
# To enable purify, do it here:
|
||||||
###Link = $(PURIFY) $(CXX) $(Prof) -static
|
ifdef ENABLE_PURIFY
|
||||||
Link = $(CXX) $(Prof)
|
Link = $(PURIFY) $(CXX) $(Prof) -static
|
||||||
|
else
|
||||||
|
Link = LD_RUN_PATH=/usr/dcs/software/evaluation/encap/gcc-3.0.4/lib $(CXX) $(Prof)
|
||||||
|
endif
|
||||||
LinkG = $(Link) -g -L $(LEVEL)/lib/Debug
|
LinkG = $(Link) -g -L $(LEVEL)/lib/Debug
|
||||||
LinkO = $(Link) -O3 -L $(LEVEL)/lib/Release
|
LinkO = $(Link) -O3 -L $(LEVEL)/lib/Release
|
||||||
|
|
||||||
|
@ -63,8 +63,11 @@ CompileO = $(Compile) -O3 -DNDEBUG -finline-functions -felide-constructors -fnon
|
|||||||
# Link final executable
|
# Link final executable
|
||||||
|
|
||||||
# To enable purify, do it here:
|
# To enable purify, do it here:
|
||||||
###Link = $(PURIFY) $(CXX) $(Prof) -static
|
ifdef ENABLE_PURIFY
|
||||||
Link = $(CXX) $(Prof)
|
Link = $(PURIFY) $(CXX) $(Prof) -static
|
||||||
|
else
|
||||||
|
Link = LD_RUN_PATH=/usr/dcs/software/evaluation/encap/gcc-3.0.4/lib $(CXX) $(Prof)
|
||||||
|
endif
|
||||||
LinkG = $(Link) -g -L $(LEVEL)/lib/Debug
|
LinkG = $(Link) -g -L $(LEVEL)/lib/Debug
|
||||||
LinkO = $(Link) -O3 -L $(LEVEL)/lib/Release
|
LinkO = $(Link) -O3 -L $(LEVEL)/lib/Release
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user