projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.4.39: get rid of hardcoded mutex and spinlock slot indexes
[sbcl.git]
/
contrib
/
asdf-module.mk
diff --git
a/contrib/asdf-module.mk
b/contrib/asdf-module.mk
index
555546f
..
dc6a07a
100644
(file)
--- a/
contrib/asdf-module.mk
+++ b/
contrib/asdf-module.mk
@@
-7,7
+7,14
@@
CC=gcc
# directly via ASDF from a non-C-aware module which has these tricky
# ones as dependencies.
# directly via ASDF from a non-C-aware module which has these tricky
# ones as dependencies.
-UNAME:=$(shell uname -m)
+UNAME:=$(shell uname -s)
+
+ifeq (SunOS,$(UNAME))
+ EXTRA_CFLAGS=-D_XOPEN_SOURCE=500 -D__EXTENSIONS__
+endif
+ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME)))
+ EXTRA_CFLAGS=-mno-cygwin
+endif
export CC SBCL EXTRA_CFLAGS EXTRA_LDFLAGS
export CC SBCL EXTRA_CFLAGS EXTRA_LDFLAGS
@@
-22,5
+29,4
@@
test: all
install: $(EXTRA_INSTALL_TARGETS)
install: $(EXTRA_INSTALL_TARGETS)
- tar cf - . | ( cd $(BUILD_ROOT)$(INSTALL_DIR) && tar xpvf - )
- ( cd $(BUILD_ROOT)$(SBCL_HOME)/systems && ln -fs ../$(SYSTEM)/$(SYSTEM).asd . )
+ tar cf - . | ( cd "$(BUILD_ROOT)$(INSTALL_DIR)" && tar xpvf - )