From cbfab8d67ad5db6608c4d6f568dbcab5972c4648 Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 25 Aug 1999 10:40:16 +0000 Subject: [PATCH] Fix for invocations and DO git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4757 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 +++++ Source/Makefile.postamble | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4e157ddb8..92917cd4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Aug 25 11:37:00 1999 Richard Frith-Macdonald + + * Source/Makefile.postamble: Added rules to build some files without + optimisation, to avoid optimiser breaking them. + Sat Aug 21 6:26:00 1999 Richard Frith-Macdonald * Tools/gdomap.c: Fix for probing for other gdomap processes on the diff --git a/Source/Makefile.postamble b/Source/Makefile.postamble index 059642443..afc9e87a8 100644 --- a/Source/Makefile.postamble +++ b/Source/Makefile.postamble @@ -186,6 +186,17 @@ $(GNUSTEP_OBJ_DIR)/NSMethodSignature.o \ $(GNUSTEP_OBJ_DIR)/NSObjCRuntime.o \ : $(GNUSTEP_TARGET_CPU)/$(GNUSTEP_TARGET_OS)/mframe.h +# +# 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 $@ $< + # # Files that need a rebuild if GSConfig.h is changed. #