mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
configure: let CC default to gcc-x86 on Haiku 32 bits.
Fixes #18935. Change-Id: I05807d0f38e38b7abaad770fc390d38cbc76f8a5 Reviewed-on: https://review.haiku-os.org/c/haiku/+/8503 Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
ca9854451d
commit
8ece85d220
4
configure
vendored
4
configure
vendored
@ -603,9 +603,13 @@ if [ -z "$CC" ]; then
|
||||
CC=gcc
|
||||
fi
|
||||
if [ $(is_legacy_gcc $($CC -dumpversion)) -ne 0 ]; then
|
||||
if [ $platform == "Haiku" ] && [ $platformMachine == "BePC" ]; then
|
||||
CC=gcc-x86
|
||||
else
|
||||
echo The host tools cannot be built with a legacy version of GCC.
|
||||
echo Please specify a more modern compiler in the "CC" environ.
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# detect the build platform
|
||||
|
Loading…
Reference in New Issue
Block a user