Merge pull request #64 from tpetazzoni/arm-neon-fix

Build NEON code with -mfpu=neon
This commit is contained in:
kcat 2016-09-08 02:09:55 -07:00 committed by GitHub
commit 4d91afb203

View File

@ -767,6 +767,7 @@ IF(HAVE_ARM_NEON_H)
SET(HAVE_NEON 1) SET(HAVE_NEON 1)
SET(ALC_OBJS ${ALC_OBJS} Alc/mixer_neon.c) SET(ALC_OBJS ${ALC_OBJS} Alc/mixer_neon.c)
SET(CPU_EXTS "${CPU_EXTS}, Neon") SET(CPU_EXTS "${CPU_EXTS}, Neon")
SET_SOURCE_FILES_PROPERTIES(Alc/mixer_neon.c PROPERTIES COMPILE_FLAGS -mfpu=neon)
ENDIF() ENDIF()
ENDIF() ENDIF()
IF(ALSOFT_REQUIRE_NEON AND NOT HAVE_NEON) IF(ALSOFT_REQUIRE_NEON AND NOT HAVE_NEON)