Branch: Tag:

2006-07-05

2006-07-05 15:14:46 by Martin Stjernholm <mast@lysator.liu.se>

Don't duplicate the CFLAGS when they don't contain -gcc-version.

Rev: src/post_modules/GL/Makefile.in:1.18
Rev: src/post_modules/GTK/Makefile.in:1.41
Rev: src/post_modules/GTK2/Makefile.in:1.8

1: - # $Id: Makefile.in,v 1.17 2006/06/21 16:02:43 grubba Exp $ + # $Id: Makefile.in,v 1.18 2006/07/05 15:14:45 mast Exp $   @make_variables@   VPATH=@srcdir@   OBJS=top.o @AUTO_OBJS@
8:      override:    @echo "Original CFLAGS:$(CFLAGS)" -  @echo "Modified CFLAGS: `echo ' $(CFLAGS) ' | sed -e 's/ -g[^ ]*//g' -e 's/ -W[^ ]*//g' -e 's/ -O[^ ]*//g'` -O `echo ' $(CFLAGS) ' | sed -e 's/.*\( -gcc-version[^ ]*\).*/\1/'`" +  @echo "Modified CFLAGS: `echo ' $(CFLAGS) ' | sed -e 's/ -g[^ ]*//g' -e 's/ -W[^ ]*//g' -e 's/ -O[^ ]*//g'` -O `echo ' $(CFLAGS) ' | sed -ne 's/.*\( -gcc-version[^ ]*\).*/\1/p'`"    @$(MAKE) \ -  CFLAGS="`echo ' $(CFLAGS) ' | sed -e 's/ -g[^ ]*//g' -e 's/ -W[^ ]*//g' -e 's/ -O[^ ]*//g'` -O `echo ' $(CFLAGS) ' | sed -e 's/.*\( -gcc-version[^ ]*\).*/\1/'`" \ +  CFLAGS="`echo ' $(CFLAGS) ' | sed -e 's/ -g[^ ]*//g' -e 's/ -W[^ ]*//g' -e 's/ -O[^ ]*//g'` -O `echo ' $(CFLAGS) ' | sed -ne 's/.*\( -gcc-version[^ ]*\).*/\1/p'`" \    all      @dynamic_module_makefile@