propagate $AR and $ARFLAGS to submodule builds

original commit: 652aed04f243ce4a7f5c71f18d1754952380a479
This commit is contained in:
Matthew Flatt 2019-12-31 07:58:12 -07:00
parent 69444da5a0
commit bbbda808e5

View File

@ -22,7 +22,7 @@ Main=../boot/$m/main.$o
Scheme=../bin/$m/scheme
# CFLAGS is propagated separately:
SetConfigEnv = CC="${CC}" CPPFLAGS="${CPPFLAGS}"
SetConfigEnv = CC="${CC}" CPPFLAGS="${CPPFLAGS}" AR="${AR}" ARFLAGS="${ARFLAGS}"
# One of these sets is referenced in Mf-config to select between
# linking with kernel.o or libkernel.a