Why would you want to get rid of the optimization flag? Building with debugging on does not preclude optimization.
On Aug 18, 2016 18:12, "Giah de Barag" <[email protected]> wrote: > 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 += -g > endif > > . . . without which debug=yes does not get rid of the -O2 flag. > > > _______________________________________________ > Gnustep-dev mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/gnustep-dev > >
_______________________________________________ Gnustep-dev mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnustep-dev
