summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Flatt <mflatt@racket-lang.org>2019-06-21 16:53:58 -0600
committerIvan Maidanski <ivmai@mail.ru>2019-10-07 08:10:36 +0300
commitfa5e156074a0bca3ecc7d9ef0e94aff410adfc52 (patch)
treeaa5fbee6f4caa418bf464c92d3b8bf9f8cbc7b3c
parent63fdd5f7e4927682166c065bca57435f46d48964 (diff)
downloadbdwgc-fa5e156074a0bca3ecc7d9ef0e94aff410adfc52.tar.gz
revise build to avoid `ld` and `nicear`
The Chez Scheme build process now create an archive instead of linking "kernel.o". Adjust the Racket CS build to use archives instead of "kernel.o". Also, modernize the Racket build's use of `ar`. Using the flags `rc` by default (instead of `ruv`) should avoid the need for `nicear`.
-rw-r--r--Makefile.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 50e11e9f..0dab202e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -339,7 +339,6 @@ HOSTCFLAGS=$(BASEFLAGS)
#
CXXFLAGS= $(ALL_CFLAGS)
-NICEAR = $(mainsrcdir)/utils/nicear
AR= @AR@
ARFLAGS= @ARFLAGS@
RANLIB= @RANLIB@
@@ -503,7 +502,7 @@ tests:
# PLTSCHEME: make ../libmzgc.a, and use $(AR), $(RANLIB), and @LIBSFX@:
base_lib ../libmzgc.@LIBSFX@: $(OBJS) dyn_load.@LTO@ $(UTILS)
- $(NICEAR) $(AR) $(ARFLAGS) ../libmzgc.@LIBSFX@ $(OBJS) dyn_load.@LTO@
+ $(AR) $(ARFLAGS) ../libmzgc.@LIBSFX@ $(OBJS) dyn_load.@LTO@
$(RANLIB) ../libmzgc.@LIBSFX@
cords: $(CORD_OBJS) cord/cordtest $(UTILS)