core: Define HAS_NCE macro
This commit is contained in:
parent
c37b5f431f
commit
3ec3cca4d8
10 changed files with 26 additions and 16 deletions
|
@ -926,7 +926,8 @@ if (ENABLE_WEB_SERVICE)
|
|||
target_link_libraries(core PRIVATE web_service)
|
||||
endif()
|
||||
|
||||
if (ARCHITECTURE_arm64)
|
||||
if (ARCHITECTURE_arm64 AND (ANDROID OR ${CMAKE_SYSTEM_NAME} STREQUAL "Linux"))
|
||||
target_compile_definitions(core PRIVATE -DHAS_NCE)
|
||||
enable_language(C ASM)
|
||||
set(CMAKE_ASM_FLAGS "${CFLAGS} -x assembler-with-cpp")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue