Place HAVE_NEON before HAVE_FLOATHARD and HAVE_FLOATSOFT

This commit is contained in:
twinaphex 2013-07-13 04:07:38 +02:00 committed by Themaister
parent 1c17baa4c1
commit 5e508c7a34

View File

@ -33,6 +33,12 @@ if [ "$HAVE_VIDEOCORE" = 'yes' ]; then
EXTRA_GL_LIBS="-lGLESv2 -lbcm_host -lvcos -lvchiq_arm"
fi
if [ "$HAVE_NEON" = "yes" ]; then
CFLAGS="$CFLAGS -mfpu=neon"
CXXFLAGS="$CXXFLAGS -mfpu=neon"
ASFLAGS="$ASFLAGS -mfpu=neon"
fi
if [ "$HAVE_FLOATHARD" = "yes" ]; then
CFLAGS="$CFLAGS -mfloat-abi=hard"
CXXFLAGS="$CXXFLAGS -mfloat-abi=hard"