From bf4eee555f7a08ae5097c19f5ee20bca09dacc1d 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 (cherry picked from commit 707abee34df8e3cb6a3db6494721f513155deac5) Signed-off-by: Itms --- 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 4411582ee2..05c7a2eb09 100755 --- a/build/workspaces/update-workspaces.sh +++ b/build/workspaces/update-workspaces.sh @@ -42,8 +42,6 @@ fi echo -# 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 echo "Premake args: ${premake_args}" if [ "$OS" != "Darwin" ]; then