mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:29:50 +00:00
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 <ralph.sennhauser@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user