mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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:
@@ -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"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user