?revision_form?Rev ?revision_input??revision_submit??revision_endform?
Blame |
Last modification |
View Log
| RSS feed
Description: Don't modify CFLAGS for unclear reasons in GL or GTK2.
--- a/src/post_modules/GL/Makefile.in
+++ b/src/post_modules/GL/Makefile.in
@@ -5,13 +5,6 @@ MODULE_LDFLAGS=@LDFLAGS@ @LIBS@
CONFIG_HEADERS=@CONFIG_HEADERS@
MODULE_CFLAGS=@X_CFLAGS@
-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 -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 -ne 's/.*\( -gcc-version[^ ]*\).*/\1/p'`" \
- all
-
@dynamic_module_makefile@
auto.c : $(SRCDIR)/auto.c.in $(SRCDIR)/features.pike $(SRCDIR)/constants.pike $(SRCDIR)/gen.pike
--- a/src/post_modules/GTK2/Makefile.in
+++ b/src/post_modules/GTK2/Makefile.in
@@ -58,10 +58,7 @@ compile1: options
test -f "$$f" || ln -s "$(srcdir)/$$f" "$$f"; \
done; \
else :; fi
-# @echo "Original CFLAGS:$(CFLAGS)"
-# @echo "Modified CFLAGS:`echo ' $(CFLAGS) ' | sed -e 's/ -g[^ ]*//g' -e 's/ -W[^ ]*//g'` `echo ' $(CFLAGS) ' | sed -ne 's/.*\( -gcc-version[^ ]*\).*/\1/p'`"
@$(MAKE) OBJS="`cat files_to_compile`" \
- CFLAGS="`echo ' $(CFLAGS) ' | sed -e 's/ -g[^ ]*/ /g' -e 's/ -W[^ ]*/ /g'` `echo ' $(CFLAGS) ' | sed -ne 's/.*\( -gcc-version[^ ]*\).*/\1/p'`" \
MAKE_FLAGS='-e $(MAKE_FLAGS)' \
all