projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Define _GNU_SOURCE when building contribs on Linux.
[sbcl.git]
/
contrib
/
asdf-module.mk
diff --git
a/contrib/asdf-module.mk
b/contrib/asdf-module.mk
index
3f88bdb
..
9c32b23
100644
(file)
--- 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