mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
configure: Use IS_LEGACY_GCC instead of manually comparing GCC versions.
This commit is contained in:
parent
f0213b4407
commit
dbaef85011
9
configure
vendored
9
configure
vendored
@ -1039,12 +1039,9 @@ else
|
||||
get_build_tool_path ELFEDIT_$targetArch elfedit
|
||||
elif [ -n "$crossToolsPrefix" ]; then
|
||||
get_build_tool_path LD_$targetArch ${crossToolsPrefix}ld
|
||||
case `get_variable HAIKU_GCC_RAW_VERSION_$targetArch` in
|
||||
4.*|5.*|6.*|7.*|8.*)
|
||||
get_build_tool_path ELFEDIT_$targetArch \
|
||||
${crossToolsPrefix}elfedit
|
||||
;;
|
||||
esac
|
||||
if [ `get_variable HAIKU_CC_IS_LEGACY_GCC_$targetArch` -eq 0 ]; then
|
||||
get_build_tool_path ELFEDIT_$targetArch ${crossToolsPrefix}elfedit
|
||||
fi
|
||||
fi
|
||||
if [ -n "$crossToolsPrefix" ]; then
|
||||
get_build_tool_path AR_$targetArch ${crossToolsPrefix}ar
|
||||
|
Loading…
Reference in New Issue
Block a user