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
|
get_build_tool_path ELFEDIT_$targetArch elfedit
|
||||||
elif [ -n "$crossToolsPrefix" ]; then
|
elif [ -n "$crossToolsPrefix" ]; then
|
||||||
get_build_tool_path LD_$targetArch ${crossToolsPrefix}ld
|
get_build_tool_path LD_$targetArch ${crossToolsPrefix}ld
|
||||||
case `get_variable HAIKU_GCC_RAW_VERSION_$targetArch` in
|
if [ `get_variable HAIKU_CC_IS_LEGACY_GCC_$targetArch` -eq 0 ]; then
|
||||||
4.*|5.*|6.*|7.*|8.*)
|
get_build_tool_path ELFEDIT_$targetArch ${crossToolsPrefix}elfedit
|
||||||
get_build_tool_path ELFEDIT_$targetArch \
|
fi
|
||||||
${crossToolsPrefix}elfedit
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
fi
|
||||||
if [ -n "$crossToolsPrefix" ]; then
|
if [ -n "$crossToolsPrefix" ]; then
|
||||||
get_build_tool_path AR_$targetArch ${crossToolsPrefix}ar
|
get_build_tool_path AR_$targetArch ${crossToolsPrefix}ar
|
||||||
|
Loading…
Reference in New Issue
Block a user