configure: add missing sanity check for cross tools options.

Change-Id: Ia79a7eb654dc4bb8dfa35df0f85b2428965e1571
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8325
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
This commit is contained in:
Jessica Hamilton 2024-09-12 12:20:46 +00:00 committed by waddlesplash
parent 83316034af
commit e22ea41c57

7
configure vendored
View File

@ -1054,6 +1054,13 @@ else
else
gcc="${crossToolsPrefix}gcc"
fi
if [ -z "$gcc" ]; then
echo "Please specify the build tools to use or build (via" \
"--cross-tools-prefix or --build-cross-tools)." >&2
echo "For more info, invoke $0 --help"
exit 1
fi
standard_gcc_settings "$gcc"
targetArch=$standard_gcc_settings_targetArch