Bladeren bron

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.
Rich Felker 5 jaren geleden
bovenliggende
commit
d7f31bde7e
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1 0
      litecross/Makefile

+ 1 - 0
litecross/Makefile

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