mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 18:30:27 +01:00
Add -mfpu=neon to avoid vector assembly errors
This commit is contained in:
parent
8010787708
commit
342347eda4
|
@ -104,6 +104,9 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||||
if(NOT PANDORA)
|
if(NOT PANDORA)
|
||||||
add_compile_options(-march=native)
|
add_compile_options(-march=native)
|
||||||
endif()
|
endif()
|
||||||
|
if (CMAKE_SYSTEM_PROCESSOR MATCHES "^arm.*")
|
||||||
|
add_compile_options(-mfpu=neon)
|
||||||
|
endif()
|
||||||
add_compile_options(-fno-strict-aliasing)
|
add_compile_options(-fno-strict-aliasing)
|
||||||
add_definitions(-D_REENTRANT=1)
|
add_definitions(-D_REENTRANT=1)
|
||||||
add_definitions(-D_MT=1)
|
add_definitions(-D_MT=1)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user