summaryrefslogtreecommitdiff
path: root/Makefile.config.in
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.config.in
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.config.in')
-rw-r--r--Makefile.config.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.config.in b/Makefile.config.in
index 074bd05cde..2c865605e1 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -178,6 +178,11 @@ OBJ_ROOT := .
#ENABLE_OPTIMIZED = 1
@ENABLE_OPTIMIZED@
+# When DEBUG_RUNTIME is enabled, the runtime libraries will retain debug
+# symbols.
+#DEBUG_RUNTIME = 1
+@DEBUG_RUNTIME@
+
# When ENABLE_PROFILING is enabled, the llvm source base is built with profile
# information to allow gprof to be used to get execution frequencies.
#ENABLE_PROFILING = 1