projects
/
sbcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d9e224
)
Define _GNU_SOURCE when building contribs on Linux.
author
Stas Boukarev
<stassats@gmail.com>
Sat, 25 Aug 2012 04:57:11 +0000
(08:57 +0400)
committer
Stas Boukarev
<stassats@gmail.com>
Sat, 25 Aug 2012 04:57:11 +0000
(08:57 +0400)
sb-posix:o-direct doesn't get grovelled without it.
contrib/asdf-module.mk
patch
|
blob
|
history
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