aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkcat <[email protected]>2016-09-08 02:09:55 -0700
committerGitHub <[email protected]>2016-09-08 02:09:55 -0700
commit4d91afb20302536c068d34c3c54a5380c2f750f2 (patch)
tree3c8357efd7eb7b0c188c8b4374349cb1b1b8526f
parentc3c283a0b5d0130afafaa2a5b6ce6fbc30b6e6a1 (diff)
parent27916ce3db023454a0295ee63ea196fbc246674c (diff)
Merge pull request #64 from tpetazzoni/arm-neon-fix
Build NEON code with -mfpu=neon
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d8f15153..d92bbb7d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -767,6 +767,7 @@ IF(HAVE_ARM_NEON_H)
SET(HAVE_NEON 1)
SET(ALC_OBJS ${ALC_OBJS} Alc/mixer_neon.c)
SET(CPU_EXTS "${CPU_EXTS}, Neon")
+ SET_SOURCE_FILES_PROPERTIES(Alc/mixer_neon.c PROPERTIES COMPILE_FLAGS -mfpu=neon)
ENDIF()
ENDIF()
IF(ALSOFT_REQUIRE_NEON AND NOT HAVE_NEON)