On 18 Mar 2010, at 12:36, David Chisnall wrote: > On 18 Mar 2010, at 12:33, Vincent Richomme wrote: > >> Sorry to ask this very stupid question but how do I remove the -O2 flags >> and add -Wl,-Map,libgnustep-gui.map to LDFLAGS. >> I tried to pass it to configure then make with no success, I tried > > GNUstep Make, frustratingly, has no way of removing flags.
Yes and no .... it has the 'file_FILTER_OUT_FLAGS' option to remove flags for specific files. Removing the -O2 flag is usually done simply with 'make debug=yes' > You can, however, build like this: > > $ make CFLAGS=-g OBJCFLAGS=-g LDGLAGS=-g-Wl,-Map,libgnustep-gui.map > > This will add these flags to the default ones. Yes, or you can add the flags in the makefile (eg. with ADDITIONAL_LDFLAGS=-g-Wl,-Map,libgnustep-gui.map) _______________________________________________ Gnustep-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnustep-dev
