From 6e96d81c874d19782b6c0942dd89d29eb1dbb75f Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Wed, 21 Dec 2005 03:31:53 +0000 Subject: 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 --- Makefile.rules | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.rules') 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) -- cgit v1.2.3