Author: rfm Date: Fri Aug 19 08:42:38 2016 New Revision: 40061 URL: http://svn.gna.org/viewcvs/gnustep?rev=40061&view=rev Log: Apply patch by g...@crelg.com
Modified: tools/make/trunk/ChangeLog tools/make/trunk/common.make Modified: tools/make/trunk/ChangeLog URL: http://svn.gna.org/viewcvs/gnustep/tools/make/trunk/ChangeLog?rev=40061&r1=40060&r2=40061&view=diff ============================================================================== --- tools/make/trunk/ChangeLog (original) +++ tools/make/trunk/ChangeLog Fri Aug 19 08:42:38 2016 @@ -1,3 +1,7 @@ +2016-08-19 Giah de Barag <g...@crelg.com> + + * common.make: filter out optimisation flags when in debug mode. + 2016-07-10 13:33-EDT Gregory John Casamento <greg.casame...@gmail.com> * GNUmakefile.in: add pkgconfig.make to INSTANCE_SHARED_MAKE_FILES Modified: tools/make/trunk/common.make URL: http://svn.gna.org/viewcvs/gnustep/tools/make/trunk/common.make?rev=40061&r1=40060&r2=40061&view=diff ============================================================================== --- tools/make/trunk/common.make (original) +++ tools/make/trunk/common.make Fri Aug 19 08:42:38 2016 @@ -753,6 +753,8 @@ 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 _______________________________________________ Gnustep-cvs mailing list Gnustep-cvs@gna.org https://mail.gna.org/listinfo/gnustep-cvs