浏览代码

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 年之前
父节点
当前提交
d7f31bde7e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      litecross/Makefile

+ 1 - 0
litecross/Makefile

@@ -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 \