summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2014-04-11 21:54:11 +0200
committerDaniel Carl <danielcarl@gmx.de>2014-04-11 21:54:11 +0200
commit4745515aae65f3daaca79681308f6c1cc1443849 (patch)
treef36ab0dd051e0f137dac2b7964db99bab79020a5 /config.mk
parentf0a3f543d5ce289e4f30f0918c8d7d4a1e7715e8 (diff)
Another try to fixed FreeBSD compile error (#76).
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index a541203..79a0c34 100644
--- a/config.mk
+++ b/config.mk
@@ -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}