diff options
author | Thomas Petazzoni <[email protected]> | 2016-09-06 22:19:14 +0200 |
---|---|---|
committer | Thomas Petazzoni <[email protected]> | 2016-09-06 22:19:14 +0200 |
commit | 27916ce3db023454a0295ee63ea196fbc246674c (patch) | |
tree | 75928a10a1ecef4388cf2dd94e33f74a1b097b00 | |
parent | a758cc82433ad4fd47aeac7e626dff4bd1fa739f (diff) |
Build NEON code with -mfpu=neon
The ARM-specific NEON code needs to be built with -mfpu=neon to avoid
build failures when a difference FPU is used by default by the
compiler.
Fixes issue #54.
Signed-off-by: Thomas Petazzoni <[email protected]>
-rw-r--r-- | CMakeLists.txt | 1 |
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) |