commit a06deb7
Michael Forney
·
2014-01-24 08:34:44 +0000 UTC
parent 27062ef
Move required _GNU_SOURCE define to Makefile
M
Makefile
+1,
-1
1@@ -39,7 +39,7 @@ define check_deps
2 endef
3
4 FINAL_CFLAGS = $(CFLAGS) -fvisibility=hidden -std=gnu99
5-FINAL_CPPFLAGS = $(CPPFLAGS)
6+FINAL_CPPFLAGS = $(CPPFLAGS) -D_GNU_SOURCE # Required for mkostemp
7
8 # Warning/error flags
9 FINAL_CFLAGS += -Werror=implicit-function-declaration -Werror=implicit-int \
+0,
-1
1@@ -10,7 +10,6 @@
2 # PKGCONFIGDIR = $(LIBDIR)/pkgconfig
3
4 CC = gcc
5-CPPFLAGS = -D_GNU_SOURCE # Required for mkostemp
6 CFLAGS = -pipe
7 # PKG_CONFIG = pkg-config
8 # WAYLAND_SCANNER = wayland-scanner