diff --git a/tools/configure b/tools/configure index 14685fd8e9..09f2f23a9a 100755 --- a/tools/configure +++ b/tools/configure @@ -2950,15 +2950,15 @@ DLLTOOL=`findtool ${DLLTOOL} --lit` DLLWRAP=`findtool ${DLLWRAP} --lit` RANLIB=`findtool ${RANLIB} --lit` +if test -n "$ccache"; then + CC="$ccache $CC" +fi + if test "$ARG_ARM_THUMB" = "1"; then extradefines="$extradefines -DUSE_THUMB" CC="$toolsdir/thumb-cc.py $CC" fi -if test -n "$ccache"; then - CC="$ccache $CC" -fi - if test "X$endian" = "Xbig"; then defendian="ROCKBOX_BIG_ENDIAN" else