summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-05 18:56:58 +0000
committerChris Lattner <sabre@nondot.org>2002-04-05 18:56:58 +0000
commit12604ed51aa4a32cfebf56173c7f9a22577611d0 (patch)
treed83bc62bba9db5c10f50cb360ecbd77a4a9e0cf9 /Makefile.rules
parent2aac6bf66a4f4486e14ee5bdc96277ec770afdc7 (diff)
downloadllvm-12604ed51aa4a32cfebf56173c7f9a22577611d0.tar.gz
llvm-12604ed51aa4a32cfebf56173c7f9a22577611d0.tar.bz2
llvm-12604ed51aa4a32cfebf56173c7f9a22577611d0.tar.xz
* 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2116 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules
index a294df77ce..a3ac71968c 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -63,8 +63,11 @@ CompileO = $(Compile) -O3 -DNDEBUG -finline-functions -felide-constructors -fnon
# Link final executable
# To enable purify, do it here:
-###Link = $(PURIFY) $(CXX) $(Prof) -static
-Link = $(CXX) $(Prof)
+ifdef ENABLE_PURIFY
+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
LinkO = $(Link) -O3 -L $(LEVEL)/lib/Release