*86*)
ARCH="i386"
;;
+ arm*eabi)
+ ARCH="armel"
+ ;;
esac
echo "ARCH = $ARCH" >> config.mak
echo "ERROR:\nYour Developer Tools' SDKs were not found.\nYou need to add extra symbolic links to /Developer to achieve correctly\nbuilt contribs.\nHave a look at the OSX-Compile-HOWTO for details." >&2
exit 1
fi
- if test $HOST="i686-apple-darwin10"; then
+ if test $HOST = "i686-apple-darwin10"; then
echo "HAVE_DARWIN_10 = 1" >> config.mak
fi
;;
echo "ERROR:\nYour Developer Tools' SDKs were not found.\nYou need to add extra symbolic links to /Developer to achieve correctly\nbuilt contribs.\nHave a look at the OSX-Compile-HOWTO for details." >&2
exit 1
fi
- if test $HOST="x86_64-apple-darwin10"; then
+ if test $HOST = "x86_64-apple-darwin10"; then
echo "HAVE_DARWIN_10 = 1" >> config.mak
fi
;;
DISTRO=maemo
echo 'HAVE_MAEMO = 1' >> config.mak
EXTRA_CFLAGS=" -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a"
- EXTRA_CFLAGS="$EXTRA_CFLAGS -mfpu=neon"
+ EXTRA_CFLAGS="$EXTRA_CFLAGS -mfpu=neon -mfloat-abi=softfp"
+ EXTRA_CFLAGS="$EXTRA_CFLAGS -O3 -fno-tree-vectorize"
else
EXTRA_CFLAGS="-msoft-float"
fi