From 9f3bbb9d30a2b549f78659e3c7b9548d75467aa3 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 13 Sep 2015 17:56:24 +0100 Subject: [PATCH] make.sh: Fix cross-architecture builds when using the --target= parameter Signed-off-by: Michael Tremer --- tools/make-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/make-functions b/tools/make-functions index 0152155258..68ae0a1de3 100644 --- a/tools/make-functions +++ b/tools/make-functions @@ -69,7 +69,7 @@ configure_target() { case "${target_arch}" in x86_64) - BUILDTARGET="${TARGET_ARCH}-unknown-linux-gnu" + BUILDTARGET="${target_arch}-unknown-linux-gnu" CROSSTARGET="${BUILD_ARCH}-cross-linux-gnu" CFLAGS_ARCH="-m64 -mtune=generic" ;; -- 2.39.5