Profile builds should always have debug info enabled.

llvm-svn: 29109
This commit is contained in:
Chris Lattner 2006-07-11 18:33:50 +00:00
parent 8c650b87d6
commit 9a7758fd9e

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