From 1d80e97eed912cad852cece8f76e663058b7bf45 Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 7 Nov 2001 09:48:46 +0000 Subject: [PATCH] Use newer gnustep-make support for filtering out optimization flags rather than hacking in the compilation rules manually git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11323 72102866-910b-0410-8b05-ffd578937521 --- Source/Makefile.postamble | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Source/Makefile.postamble b/Source/Makefile.postamble index 8e33c11a7..be3dab9ec 100644 --- a/Source/Makefile.postamble +++ b/Source/Makefile.postamble @@ -183,13 +183,10 @@ $(GNUSTEP_OBJ_DIR)/NSObjCRuntime.o \ # # Files where optimisation breaks the code! # These have to filter the optimisation flag out. -# -$(GNUSTEP_OBJ_DIR)/mframe.o : mframe.m - $(CC) -c $(filter-out -O%, $(ALL_CPPFLAGS) $(ALL_OBJCFLAGS)) -o $@ $< -$(GNUSTEP_OBJ_DIR)/NSConnection.o : NSConnection.m - $(CC) -c $(filter-out -O%, $(ALL_CPPFLAGS) $(ALL_OBJCFLAGS)) -o $@ $< -$(GNUSTEP_OBJ_DIR)/NSInvocation.o : NSInvocation.m - $(CC) -c $(filter-out -O%, $(ALL_CPPFLAGS) $(ALL_OBJCFLAGS)) -o $@ $< +# [You need gnustep-make >= 1.2.0 to compile this code] +mframe.m_FILE_FILTER_OUT_FLAGS = -O% +NSConnection.m_FILE_FILTER_OUT_FLAGS = -O% +NSInvocation.m_FILE_FILTER_OUT_FLAGS = -O% # # Files that need a rebuild if config.h is changed.