swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit a06deb7d75926b41d574b03b60c9697492dea454
parent 27062ef1e4aea372fb056bf7fe00e9a0f9a62be4
Author: Michael Forney <mforney@mforney.org>
Date:   Fri, 24 Jan 2014 00:34:44 -0800

Move required _GNU_SOURCE define to Makefile

Diffstat:
MMakefile | 2+-
Mconfig.mk | 1-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -39,7 +39,7 @@ define check_deps endef FINAL_CFLAGS = $(CFLAGS) -fvisibility=hidden -std=gnu99 -FINAL_CPPFLAGS = $(CPPFLAGS) +FINAL_CPPFLAGS = $(CPPFLAGS) -D_GNU_SOURCE # Required for mkostemp # Warning/error flags FINAL_CFLAGS += -Werror=implicit-function-declaration -Werror=implicit-int \ diff --git a/config.mk b/config.mk @@ -10,7 +10,6 @@ # PKGCONFIGDIR = $(LIBDIR)/pkgconfig CC = gcc -CPPFLAGS = -D_GNU_SOURCE # Required for mkostemp CFLAGS = -pipe # PKG_CONFIG = pkg-config # WAYLAND_SCANNER = wayland-scanner