Fix ARM version detection (need to pass mcpu/march to cpp).
Change-Id: Ic3283abca56a2bf0dd0f786b52f0f28a21442e13
This commit is contained in:
parent
3a3f4d6476
commit
f5a3dbc6d9
1 changed files with 1 additions and 1 deletions
2
tools/configure
vendored
2
tools/configure
vendored
|
@ -3673,7 +3673,7 @@ RANLIB=`findtool ${RANLIB} --lit`
|
|||
|
||||
|
||||
if [ -z "$arch" ]; then
|
||||
cpp_defines=$(echo "" | $CPP -dD)
|
||||
cpp_defines=$(echo "" | $CPP $GCCOPTS -dD)
|
||||
if [ -n "$(echo $cpp_defines | grep -w __sh__)" ]; then
|
||||
arch="sh"
|
||||
elif [ -n "$(echo $cpp_defines | grep -w __m68k__)" ]; then
|
||||
|
|
Loading…
Reference in a new issue