mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 01:31:08 +00:00
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:
parent
918da3190b
commit
8482caf341
1 changed files with 4 additions and 7 deletions
|
@ -183,13 +183,10 @@ $(GNUSTEP_OBJ_DIR)/NSObjCRuntime.o \
|
||||||
#
|
#
|
||||||
# Files where optimisation breaks the code!
|
# Files where optimisation breaks the code!
|
||||||
# These have to filter the optimisation flag out.
|
# These have to filter the optimisation flag out.
|
||||||
#
|
# [You need gnustep-make >= 1.2.0 to compile this code]
|
||||||
$(GNUSTEP_OBJ_DIR)/mframe.o : mframe.m
|
mframe.m_FILE_FILTER_OUT_FLAGS = -O%
|
||||||
$(CC) -c $(filter-out -O%, $(ALL_CPPFLAGS) $(ALL_OBJCFLAGS)) -o $@ $<
|
NSConnection.m_FILE_FILTER_OUT_FLAGS = -O%
|
||||||
$(GNUSTEP_OBJ_DIR)/NSConnection.o : NSConnection.m
|
NSInvocation.m_FILE_FILTER_OUT_FLAGS = -O%
|
||||||
$(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 $@ $<
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Files that need a rebuild if config.h is changed.
|
# Files that need a rebuild if config.h is changed.
|
||||||
|
|
Loading…
Reference in a new issue