[15/28] binutils/gcc: Explicitely declare host and build architecture tuple
Commit Message
This will fix cross-compiling the toolchain which I broke before.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
lfs/binutils | 2 ++
lfs/gcc | 2 ++
2 files changed, 4 insertions(+)
@@ -70,6 +70,8 @@ else
AR="$(CROSSTARGET)-ar" \
RANLIB="$(CROSSTARGET)-ranlib"
EXTRA_CONFIG = \
+ --build=$(BUILDTARGET) \
+ --host=$(BUILDTARGET) \
--prefix=$(TOOLS_DIR) \
--with-lib-path=$(TOOLS_DIR)/lib \
--with-sysroot \
@@ -116,6 +116,8 @@ ifeq "$(PASS)" "2"
AR="$(CROSSTARGET)-ar" \
RANLIB="$(CROSSTARGET)-ranlib"
EXTRA_CONFIG = \
+ --build=$(BUILDTARGET) \
+ --host=$(BUILDTARGET) \
--prefix=$(TOOLS_DIR) \
--with-local-prefix=$(TOOLS_DIR) \
--with-native-system-header-dir=$(TOOLS_DIR)/include \