diff --git a/Makefile.rules b/Makefile.rules index 84c5eafc114..2852ac38bfc 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -213,6 +213,7 @@ ifdef ENABLE_PROFILING CXX.Flags := $(OPTIMIZE_OPTION) -pg -g C.Flags := $(OPTIMIZE_OPTION) -pg -g LD.Flags := $(OPTIMIZE_OPTION) -pg -g + KEEP_SYMBOLS := 1 else ifeq ($(ENABLE_OPTIMIZED),1) BuildMode := Release