summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-12-21 03:31:53 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-12-21 03:31:53 +0000
commit6e96d81c874d19782b6c0942dd89d29eb1dbb75f (patch)
tree6d3cd233fc80e07b1115d980630cb2a72acec436 /Makefile.rules
parent3b841e9f52611c1f92c60f979c775adf2c1fe22d (diff)
downloadllvm-6e96d81c874d19782b6c0942dd89d29eb1dbb75f.tar.gz
llvm-6e96d81c874d19782b6c0942dd89d29eb1dbb75f.tar.bz2
llvm-6e96d81c874d19782b6c0942dd89d29eb1dbb75f.tar.xz
Implement fix for PR471:
* Add --enable-debug-runtime option, defaults to disabled * Pass the new config var, DEBUG_RUNTIME, to Makefiles * Don't use -Wa,-strip-debug if debug-runtime is enabled git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24891 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 9f07c1ad68..18db58d633 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -769,8 +769,10 @@ $(warning Bytecode libraries require llvm-gcc which could not be found ****)
else
# make the C and C++ compilers strip debug info out of bytecode libraries.
+ifndef DEBUG_RUNTIME
BCCompile.C += -Wa,-strip-debug
BCCompile.CXX += -Wa,-strip-debug
+endif
all-local:: $(LibName.BCA)