From 4f530a3f8fff035006e2c9afbcfd233cd38a499a Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 5 Sep 2014 16:01:44 +0100 Subject: Pull warning flags out into variables that can be overriden seperately for C and C++ --- gtk/Makefile.target | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gtk/Makefile.target') diff --git a/gtk/Makefile.target b/gtk/Makefile.target index 513cb22de..05865ff74 100644 --- a/gtk/Makefile.target +++ b/gtk/Makefile.target @@ -44,14 +44,13 @@ GTKDEPFLAGS := -DG_DISABLE_SINGLE_INCLUDES \ # libsexy currently means we cannot enable this # -DGDK_DISABLE_DEPRECATED -GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk \ +GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk -g \ $(GTKDEPFLAGS) \ -D_BSD_SOURCE \ -D_XOPEN_SOURCE=600 \ -D_POSIX_C_SOURCE=200809L \ -D_NETBSD_SOURCE \ - -DGTK_RESPATH=\"$(NETSURF_GTK_RESOURCES)\" \ - $(WARNFLAGS) -g + -DGTK_RESPATH=\"$(NETSURF_GTK_RESOURCES)\" # non optional pkg-configed libs $(eval $(call pkg_config_find_and_add,libcss,CSS)) @@ -63,7 +62,6 @@ $(eval $(call pkg_config_find_and_add,gtk+-$(NETSURF_GTK_MAJOR).0,GTK-$(NETSURF_ $(eval $(call pkg_config_find_and_add,gthread-2.0,GThread2)) $(eval $(call pkg_config_find_and_add,gmodule-2.0,GModule2)) - CFLAGS += $(GTKCFLAGS) LDFLAGS += -lm -- cgit v1.2.3