summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2014-06-07 17:53:53 +0200
committerDaniel Carl <danielcarl@gmx.de>2014-06-07 17:53:53 +0200
commite4cb49f98eaa3f85b6b0ee587b537432595bf092 (patch)
tree8b59af4ed55b1a4ec76940fadce9609b6acc6227 /config.mk
parentbc5f472186560f8075c7aeb0adb682ca22848971 (diff)
Removed -ansi compiler flag and -Wstrict-prototypes.
The ansi does not allow to use type declaration in loop that make the code easier to read. And the GTK3 build fails with strict prototypes enabled.
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 66def08..eaf6a00 100644
--- a/config.mk
+++ b/config.mk
@@ -40,7 +40,7 @@ LIBFLAGS = $(shell pkg-config --libs $(LIBS))
# normal compiler flags
CFLAGS += $(shell pkg-config --cflags $(LIBS))
-CFLAGS += -Wall -pipe -std=c99 -ansi -Wstrict-prototypes
+CFLAGS += -Wall -pipe -std=c99
CFLAGS += -Wno-overlength-strings -Werror=format-security
CFLAGS += ${CPPFLAGS}
LDFLAGS += ${LIBFLAGS}