Profile builds should always have debug info enabled.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29109 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-07-11 18:33:50 +00:00
parent ed36b2f1c2
commit 041572f0b3

View File

@ -208,9 +208,9 @@ endif
ifdef ENABLE_PROFILING
BuildMode := Profile
CXX.Flags := $(OPTIMIZE_OPTION) -pg
C.Flags := $(OPTIMIZE_OPTION) -pg
LD.Flags := $(OPTIMIZE_OPTION) -pg
CXX.Flags := $(OPTIMIZE_OPTION) -pg -g
C.Flags := $(OPTIMIZE_OPTION) -pg -g
LD.Flags := $(OPTIMIZE_OPTION) -pg -g
else
ifdef ENABLE_OPTIMIZED
BuildMode := Release