Suppress redefinition warning caused by glib.
authorDaniel Carl <danielcarl@gmx.de>
Sat, 18 Apr 2015 20:36:02 +0000 (22:36 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Sat, 18 Apr 2015 21:04:55 +0000 (23:04 +0200)
config.mk

index b94349c..79167b7 100644 (file)
--- 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}