From: Stas Boukarev Date: Sat, 25 Aug 2012 04:57:11 +0000 (+0400) Subject: Define _GNU_SOURCE when building contribs on Linux. X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=34d75fd54651830d53ebd41ddebaf6ac1c76ba62;p=sbcl.git Define _GNU_SOURCE when building contribs on Linux. sb-posix:o-direct doesn't get grovelled without it. --- diff --git a/contrib/asdf-module.mk b/contrib/asdf-module.mk index 3f88bdb..9c32b23 100644 --- a/contrib/asdf-module.mk +++ b/contrib/asdf-module.mk @@ -21,6 +21,9 @@ ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME))) # paths, either. CC:=$(shell cygpath -m $(shell readlink -fn $(shell which $(CC)))) endif +ifeq (Linux,$(UNAME)) + EXTRA_CFLAGS=-D_GNU_SOURCE +endif export CC SBCL EXTRA_CFLAGS EXTRA_LDFLAGS