|
From: | Stefan Bidigaray |
Subject: | Re: common.make -- debug=yes |
Date: | Thu, 18 Aug 2016 18:23:33 -0400 |
Why would you want to get rid of the optimization flag? Building with debugging on does not preclude optimization.
Would you review these two lines intended for insertion at common.make:756 . . .ifeq ($(debug), yes)# Optimization flags are filtered out as they make debugging harder.OPTFLAG := $(filter-out -O%, $(OPTFLAG))CCFLAGS := $(filter-out -O%, $(CCFLAGS))ADDITIONAL_FLAGS := $(filter-out -O%, $(ADDITIONAL_FLAGS))# If OPTFLAG does not already include -g, add it here.ifneq ($(filter -g, $(OPTFLAG)), -g)ADDITIONAL_FLAGS += -gendif. . . without which debug=yes does not get rid of the -O2 flag.
_______________________________________________
Gnustep-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnustep-dev
[Prev in Thread] | Current Thread | [Next in Thread] |