From d7f31bde7ea13356f6b1f184ceb05622c2558d98 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 3 Feb 2020 14:27:19 -0500 Subject: [PATCH] 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. --- litecross/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/litecross/Makefile b/litecross/Makefile index 33d1b79..8ec0ed2 100644 --- a/litecross/Makefile +++ b/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 \