summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-03-28 23:32:57 +0200
committerThomas Martitz <kugel@rockbox.org>2012-03-28 23:32:57 +0200
commitf5a3dbc6d921c1180b4de9204296115d42398ca9 (patch)
tree8d5068a781fda089792597f9861c46ee70061851
parent3a3f4d6476a34a7a5c7f06c375c71e5b977ac456 (diff)
downloadrockbox-f5a3dbc6d921c1180b4de9204296115d42398ca9.tar.gz
rockbox-f5a3dbc6d921c1180b4de9204296115d42398ca9.zip
Fix ARM version detection (need to pass mcpu/march to cpp).
Change-Id: Ic3283abca56a2bf0dd0f786b52f0f28a21442e13
-rwxr-xr-xtools/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index f8fd35773e..00a7adfe7f 100755
--- a/tools/configure
+++ b/tools/configure
@@ -3673,7 +3673,7 @@ RANLIB=`findtool ${RANLIB} --lit`
3673 3673
3674 3674
3675if [ -z "$arch" ]; then 3675if [ -z "$arch" ]; then
3676 cpp_defines=$(echo "" | $CPP -dD) 3676 cpp_defines=$(echo "" | $CPP $GCCOPTS -dD)
3677 if [ -n "$(echo $cpp_defines | grep -w __sh__)" ]; then 3677 if [ -n "$(echo $cpp_defines | grep -w __sh__)" ]; then
3678 arch="sh" 3678 arch="sh"
3679 elif [ -n "$(echo $cpp_defines | grep -w __m68k__)" ]; then 3679 elif [ -n "$(echo $cpp_defines | grep -w __m68k__)" ]; then