From fa5e156074a0bca3ecc7d9ef0e94aff410adfc52 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Fri, 21 Jun 2019 16:53:58 -0600 Subject: 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`. --- Makefile.in | 3 +-- 1 file changed, 1 insertion(+), 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) -- cgit v1.2.1