diff options
author | Daniel Carl <danielcarl@gmx.de> | 2014-06-07 17:53:53 +0200 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2014-06-07 17:53:53 +0200 |
commit | e4cb49f98eaa3f85b6b0ee587b537432595bf092 (patch) | |
tree | 8b59af4ed55b1a4ec76940fadce9609b6acc6227 /config.mk | |
parent | bc5f472186560f8075c7aeb0adb682ca22848971 (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.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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} |