summaryrefslogtreecommitdiffstats
path: root/src/libgdl/Makefile_insert
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgdl/Makefile_insert')
-rw-r--r--src/libgdl/Makefile_insert11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libgdl/Makefile_insert b/src/libgdl/Makefile_insert
index 3f5228a20..7cfeaa8a2 100644
--- a/src/libgdl/Makefile_insert
+++ b/src/libgdl/Makefile_insert
@@ -44,6 +44,17 @@ libgdl/all: libgdl/libgdl.a
libgdl/clean:
rm -f libgdl/libgdl.a $(libgdl_gdl_a_OBJECTS)
+
+# Suppress some non-critical warnings for libgdl. We will drop our forked copy
+# of GDL once we upgrade to Gtk+ 3 so it's more important to minimise the number
+# of changes we make to GDL than to fix these minor issues in trunk.
+
+if CC_WNO_UNUSED_BUT_SET_VARIABLE_SUPPORTED
+libgdl_libgdl_a_CFLAGS = -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-but-set-variable $(AM_CFLAGS)
+else
+libgdl_libgdl_a_CFLAGS = -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable $(AM_CFLAGS)
+endif
+
libgdl_libgdl_a_SOURCES = \
libgdl/gdl-dock-object.h \
libgdl/gdl-dock-master.h \