diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-12-21 03:31:53 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-12-21 03:31:53 +0000 |
commit | 6e96d81c874d19782b6c0942dd89d29eb1dbb75f (patch) | |
tree | 6d3cd233fc80e07b1115d980630cb2a72acec436 /Makefile.rules | |
parent | 3b841e9f52611c1f92c60f979c775adf2c1fe22d (diff) | |
download | external_llvm-6e96d81c874d19782b6c0942dd89d29eb1dbb75f.zip external_llvm-6e96d81c874d19782b6c0942dd89d29eb1dbb75f.tar.gz external_llvm-6e96d81c874d19782b6c0942dd89d29eb1dbb75f.tar.bz2 |
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.rules | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index 9f07c1a..18db58d 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) |