[cmucl-commit] [git] CMU Common Lisp branch rtoy-extern-alien-name updated. 20f-36-gbd66559
Raymond Toy
rtoy at common-lisp.net
Sat Oct 11 02:42:21 UTC 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMU Common Lisp".
The branch, rtoy-extern-alien-name has been updated
via bd66559a30189bee02e7357d365f7317670ae0c1 (commit)
from 6172c8a71aacbd894dff622a0dd9d593c10a8e48 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bd66559a30189bee02e7357d365f7317670ae0c1
Author: Raymond Toy <toy.raymond at gmail.com>
Date: Fri Oct 10 19:42:14 2014 -0700
For sparc, define FEATURE_ELF because Solaris uses elf.
This is needed on sparc to define the right EXTERN_ALIEN_NAME.
diff --git a/src/lisp/Config.sparc_common b/src/lisp/Config.sparc_common
index 2ad8aed..9a7c850 100644
--- a/src/lisp/Config.sparc_common
+++ b/src/lisp/Config.sparc_common
@@ -15,15 +15,16 @@ vpath %.pot $(CMULOCALE)
vpath %.po $(CMULOCALE)
vpath %.mo $(CMULOCALE)
+CPP_DEFINE_OPTIONS := -DSOLARIS -DSVR4
# Enable support for :linkage-table feature.
ifdef FEATURE_LINKAGE_TABLE
-LINKAGE = -DLINKAGE_TABLE
+CPP_DEFINE_OPTIONS += -DLINKAGE_TABLE
endif
# Enable support for generational GC
ifdef FEATURE_GENCGC
-GENCGC = -DGENCGC
+CPP_DEFINE_OPTIONS += -DGENCGC
GC_SRC = gencgc.c
else
GC_SRC = gc.c
@@ -34,19 +35,22 @@ endif
# cases. If neither is set, then we don't want any SSE2 support at
# all.
ifdef FEATURE_X87
-SSE2 = -DFEATURE_SSE2
+CPP_DEFINE_OPTIONS += -DFEATURE_SSE2
else
ifdef FEATURE_SSE2
-SSE2 = -DFEATURE_SSE2
+CPP_DEFINE_OPTIONS += -DFEATURE_SSE2
endif
endif
# Enable support for Unicode
ifdef FEATURE_UNICODE
-UNICODE = -DUNICODE
+CPP_DEFINE_OPTIONS += -DUNICODE
endif
-CPPFLAGS += -I. -I$(PATH1) -DSOLARIS -DSVR4 $(CC_V8PLUS) $(LINKAGE) $(GENCGC) $(UNICODE) $(SSE2)
+# Sparc is always elf.
+CPP_DEFINE_OPTIONS += -DFEATURE_ELF
+
+CPPFLAGS += -I. -I$(PATH1) $(CC_V8PLUS) $(CPP_DEFINE_OPTIONS)
CFLAGS += -g $(CC_V8PLUS)
-----------------------------------------------------------------------
Summary of changes:
src/lisp/Config.sparc_common | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
hooks/post-receive
--
CMU Common Lisp
More information about the cmucl-commit
mailing list