litecross: Pass --enable-deterministic-archives to binutils, not gcc

When the gcc and binutils build trees were separated in defdbb4505,
--enable-deterministic-archives was accidentally left in FULL_GCC_CONFIG.
This had the effect of reverting commit e83fe4b8ce, breaking
reproducible builds (unless it was specified explicitly in config.mak).
This commit is contained in:
Michael Forney 2018-11-05 22:36:55 -08:00 committed by Rich Felker
parent 96bd58ce57
commit a14e91fef8
1 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,8 @@ FULL_BINUTILS_CONFIG = \
--disable-werror \ --disable-werror \
--target=$(TARGET) --prefix= \ --target=$(TARGET) --prefix= \
--libdir=/lib --disable-multilib \ --libdir=/lib --disable-multilib \
--with-sysroot=$(SYSROOT) --with-sysroot=$(SYSROOT) \
--enable-deterministic-archives
FULL_GCC_CONFIG = --enable-languages=c,c++ \ FULL_GCC_CONFIG = --enable-languages=c,c++ \
$(GCC_CONFIG_FOR_TARGET) \ $(GCC_CONFIG_FOR_TARGET) \
@ -74,7 +75,6 @@ FULL_GCC_CONFIG = --enable-languages=c,c++ \
--disable-libmudflap --disable-libsanitizer \ --disable-libmudflap --disable-libsanitizer \
--disable-gnu-indirect-function \ --disable-gnu-indirect-function \
--disable-libmpx \ --disable-libmpx \
--enable-deterministic-archives \
--enable-libstdcxx-time --enable-libstdcxx-time
FULL_MUSL_CONFIG = $(MUSL_CONFIG) \ FULL_MUSL_CONFIG = $(MUSL_CONFIG) \