summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2015-04-18 22:36:02 +0200
committerDaniel Carl <danielcarl@gmx.de>2015-04-18 23:04:55 +0200
commited761a98f0acf313b3286c10099850bebfe92613 (patch)
treebde3f7b5d25c9f5601eec4a8b70b96945e12b69c /config.mk
parentac94602e124b0136eea5d5b723a1c495f3d856b3 (diff)
Suppress redefinition warning caused by glib.
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index b94349c..79167b7 100644
--- a/config.mk
+++ b/config.mk
@@ -48,6 +48,8 @@ LIBFLAGS = $(shell pkg-config --libs $(LIBS))
CFLAGS += $(shell pkg-config --cflags $(LIBS))
CFLAGS += -Wall -pipe -std=c99
CFLAGS += -Wno-overlength-strings -Werror=format-security
+# This is to avoid redifinition warnings caused by glib.
+CFLAGS += -Wno-typedef-redefinition
CFLAGS += ${CPPFLAGS}
LDFLAGS += ${LIBFLAGS}