From: Michael Tremer Date: Sat, 12 Jul 2008 22:56:15 +0000 (+0200) Subject: Fixed building the (cross-)toolchain. X-Git-Tag: v3.0-alpha1~865^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cd5642116bebfa9aa234327769e536d37c8c68cb;p=ipfire-3.x.git Fixed building the (cross-)toolchain. --- diff --git a/lfs/binutils b/lfs/binutils index 9f5955d97..9abac72c5 100644 --- a/lfs/binutils +++ b/lfs/binutils @@ -93,6 +93,7 @@ ifeq "$(PASS)" "2" AR=$(IFS_TARGET)-ar \ RANLIB=$(IFS_TARGET)-ranlib \ ../$(THISAPP)/configure \ + --target=$(IFS_TARGET) \ --prefix=$(TOOLS_DIR) \ --disable-nls \ --with-lib-path=$(TOOLS_DIR)/lib diff --git a/lfs/gcc b/lfs/gcc index 3adc45b5b..f99907c29 100644 --- a/lfs/gcc +++ b/lfs/gcc @@ -39,6 +39,10 @@ else TARGET = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)-pass$(PASS) endif +ifeq "$(MACHINE)" "i586" + CONFIGURE_ARGS = --disable-decimal-float +endif + ############################################################################### # Top-level Rules ############################################################################### @@ -89,7 +93,8 @@ endif --enable-checking=none \ --with-mpfr=$(TOOLS_DIR) \ --with-gmp=$(TOOLS_DIR) \ - --disable-werror + --disable-werror \ + $(CONFIGURE_ARGS) cd $(DIR_SRC)/gcc-build && make $(PARALLELISMFLAGS) cd $(DIR_SRC)/gcc-build && make install @@ -138,7 +143,8 @@ endif --disable-bootstrap \ --disable-werror \ --disable-nls \ - --disable-libgomp + --disable-libgomp \ + $(CONFIGURE_ARGS) ## Libgomp was disabled here because it doesn't want to compile ## cd $(DIR_SRC)/gcc-build && make -j $(PARALLELISM) cd $(DIR_SRC)/gcc-build && make install