diff options
author | Daniel Carl <danielcarl@gmx.de> | 2014-04-11 21:54:11 +0200 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2014-04-11 21:54:11 +0200 |
commit | 4745515aae65f3daaca79681308f6c1cc1443849 (patch) | |
tree | f36ab0dd051e0f137dac2b7964db99bab79020a5 /config.mk | |
parent | f0a3f543d5ce289e4f30f0918c8d7d4a1e7715e8 (diff) |
Another try to fixed FreeBSD compile error (#76).
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -30,7 +30,7 @@ PROJECT_UCFIRST = $(shell echo '${PROJECT}' | awk '{for(i=1;i<=NF;i++){$$i=toupp CPPFLAGS = -DVERSION=\"${VERSION}\" CPPFLAGS += -DPROJECT=\"${PROJECT}\" -DPROJECT_UCFIRST=\"${PROJECT_UCFIRST}\" -CPPFLAGS += -D_BSD_SOURCE -D_XOPEN_SOURCE=500 +CPPFLAGS += -D_XOPEN_SOURCE=500 ifeq ($(USEGTK3), 1) CPPFLAGS += -DHAS_GTK3 endif @@ -40,7 +40,7 @@ LIBFLAGS = $(shell pkg-config --libs $(LIBS)) # normal compiler flags CFLAGS += $(shell pkg-config --cflags $(LIBS)) -CFLAGS += -Wall -pipe -ansi -std=c99 -pedantic +CFLAGS += -Wall -pipe -std=c99 -pedantic CFLAGS += -Wmissing-declarations -Wmissing-parameter-type -Wno-overlength-strings CFLAGS += ${CPPFLAGS} LDFLAGS += ${LIBFLAGS} |