make.sh: Fix cross-architecture builds when using the --target= parameter

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2015-09-13 17:56:24 +01:00
parent 11fbf1fab0
commit 9f3bbb9d30

View File

@@ -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"
;;