Skip to content

Commit

Permalink
CROSS_ARCH
Browse files Browse the repository at this point in the history
  • Loading branch information
danoli3 committed Feb 5, 2025
1 parent 6c2b8ea commit 27b85db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apothecary/configure/linuxaarch64_configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ CROSSCOMPILE=${CROSSCOMPILE:-1}
export HOST_ARCH=$(uname -m)
export HOST_PLATFORM=$(uname)

if [[ "$HOST_ARCH" != "$CROSS_MARCH" ]]; then
if [[ "$HOST_ARCH" != "$CROSS_ARCH" ]]; then
CROSSCOMPILE=1
echo "Detected different host ($HOST_ARCH) and target ($CROSS_MARCH). Enabling cross-compilation."
echo "Detected different host ($HOST_ARCH) and target ($CROSS_ARCH). Enabling cross-compilation."
else
CROSSCOMPILE=0
echo "Native compilation detected. No cross-compilation needed."
Expand Down

0 comments on commit 27b85db

Please sign in to comment.