pass --disable-assembly to gcc configure, for gmp

gmp does not build correctly with compilers that default to emitting
PIE/PIC, due to custom-preprocessed asm source files which have wrong
logic for determining if PIC-compatibility is needed. ideally this
would be patched in gmp, but I don't know how to do that, so for the
time being, just disable the asm.
This commit is contained in:
Rich Felker 2020-02-03 14:27:19 -05:00
parent 97b7d13f65
commit d7f31bde7e
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ FULL_GCC_CONFIG = --enable-languages=c,c++ \
$(GCC_CONFIG_FOR_TARGET) \ $(GCC_CONFIG_FOR_TARGET) \
$(COMMON_CONFIG) $(GCC_CONFIG) $(TOOLCHAIN_CONFIG) \ $(COMMON_CONFIG) $(GCC_CONFIG) $(TOOLCHAIN_CONFIG) \
--disable-bootstrap \ --disable-bootstrap \
--disable-assembly \
--disable-werror \ --disable-werror \
--target=$(TARGET) --prefix= \ --target=$(TARGET) --prefix= \
--libdir=/lib --disable-multilib \ --libdir=/lib --disable-multilib \