aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.rules
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2009-09-27 17:47:29 +0000
committerJeffrey Yasskin <jyasskin@google.com>2009-09-27 17:47:29 +0000
commited62bf33bce67ff2da6a8181428f48b2e4db03aa (patch)
tree16920ae44894157411ddd102594bee0d84e3fa9f /Makefile.rules
parentd9bf0112734209c3d98a574bdb672f2928d6ee08 (diff)
downloadexternal_llvm-ed62bf33bce67ff2da6a8181428f48b2e4db03aa.zip
external_llvm-ed62bf33bce67ff2da6a8181428f48b2e4db03aa.tar.gz
external_llvm-ed62bf33bce67ff2da6a8181428f48b2e4db03aa.tar.bz2
Enable -g with DEBUG_SYMBOLS and --enable-debug-symbols instead of
DEBUG_RUNTIME. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82906 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 48cb690..264bab8 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -313,7 +313,7 @@ ifeq ($(ENABLE_OPTIMIZED),1)
CXX.Flags += $(OPTIMIZE_OPTION) $(OmitFramePointer)
C.Flags += $(OPTIMIZE_OPTION) $(OmitFramePointer)
LD.Flags += $(OPTIMIZE_OPTION)
- ifdef DEBUG_RUNTIME
+ ifdef DEBUG_SYMBOLS
BuildMode := $(BuildMode)+Debug
CXX.Flags += -g
C.Flags += -g