]> granicus.if.org Git - gc/commitdiff
revise build to avoid `ld` and `nicear`
authorMatthew Flatt <mflatt@racket-lang.org>
Fri, 21 Jun 2019 22:53:58 +0000 (16:53 -0600)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 7 Oct 2019 05:10:36 +0000 (08:10 +0300)
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`.

Makefile.in

index 50e11e9f9365442edff82a80e4c4fe5ac336b5fe..0dab202ec73ea869d0d2bf1720d570bcf5d0dcd8 100644 (file)
@@ -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)