From f5a3dbc6d921c1180b4de9204296115d42398ca9 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Wed, 28 Mar 2012 23:32:57 +0200 Subject: Fix ARM version detection (need to pass mcpu/march to cpp). Change-Id: Ic3283abca56a2bf0dd0f786b52f0f28a21442e13 --- tools/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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` 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 -- cgit v1.2.3