From 041572f0b338a48a0e2cb1a85af6ea4dabbb110c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 11 Jul 2006 18:33:50 +0000 Subject: [PATCH] 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 --- Makefile.rules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.rules b/Makefile.rules index 199602f38af..47a5f2c41ca 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -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