From 707abee34df8e3cb6a3db6494721f513155deac5 Mon Sep 17 00:00:00 2001 From: Ralph Sennhauser Date: Sun, 29 Jun 2025 14:34:21 +0200 Subject: [PATCH] Don't export HOSTTYPE in update-workspace.sh Exporting HOSTTYPE prevents cross compilation as HOSTTYPE is used to override target host arch instead of detecting it from chosen compiler. This then results in the wrong arch specific source files to be included. So just don't set it by default and let it to the user to set it if he so chooses. Signed-off-by: Ralph Sennhauser --- build/workspaces/update-workspaces.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/build/workspaces/update-workspaces.sh b/build/workspaces/update-workspaces.sh index 1e1564ce79..61e00248e7 100755 --- a/build/workspaces/update-workspaces.sh +++ b/build/workspaces/update-workspaces.sh @@ -40,8 +40,6 @@ if [ "$with_system_premake5" = "false" ]; then premake_command="../../libraries/source/premake-core/bin/premake5" fi -# If we're in bash then make HOSTTYPE available to Premake, for primitive arch-detection -export HOSTTYPE="$HOSTTYPE" # Now run Premake to create the makefiles if [ "$OS" != "Darwin" ]; then # shellcheck disable=SC2086