Fixed configure for legacy buildtools.

The elfedit tool doesn't exist with the old binutils, so configure was
failing when it tried to get the path to it. Only try to search for it
if building GCC 4.
This commit is contained in:
Alex Smith 2012-07-30 08:25:16 +01:00
parent e27109c167
commit bd16f0dd82

6
configure vendored
View File

@ -511,7 +511,11 @@ if [ -n "$crossToolsPrefix" ]; then
get_build_tool_path LD ld
get_build_tool_path OBJCOPY objcopy
get_build_tool_path RANLIB ranlib
get_build_tool_path ELFEDIT elfedit
case $HAIKU_GCC_RAW_VERSION in
4.*)
get_build_tool_path ELFEDIT elfedit
;;
esac
fi
# prepare gcc settings