summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}