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
This commit is contained in:
Nicola Pero 2001-11-07 09:48:46 +00:00
parent 918da3190b
commit 8482caf341

View file

@ -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.