summaryrefslogtreecommitdiff
path: root/tools/configure
diff options
context:
space:
mode:
Diffstat (limited to 'tools/configure')
-rwxr-xr-xtools/configure4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/configure b/tools/configure
index 63d26e6b68..b8e495a908 100755
--- a/tools/configure
+++ b/tools/configure
@@ -4550,9 +4550,7 @@ HOSTAR=${HOSTAR:-${AR}}
4550 4550
4551if [ -z "$arch" ]; then 4551if [ -z "$arch" ]; then
4552 cpp_defines=$(echo "" | $CPP $GCCOPTS -dD) 4552 cpp_defines=$(echo "" | $CPP $GCCOPTS -dD)
4553 if [ -n "$(echo $cpp_defines | grep -w __sh__)" ]; then 4553 if [ -n "$(echo $cpp_defines | grep -w __m68k__)" ]; then
4554 arch="sh"
4555 elif [ -n "$(echo $cpp_defines | grep -w __m68k__)" ]; then
4556 arch="m68k" 4554 arch="m68k"
4557 elif [ -n "$(echo $cpp_defines | grep -w __arm__)" ]; then 4555 elif [ -n "$(echo $cpp_defines | grep -w __arm__)" ]; then
4558 arch="arm" 4556 arch="arm"