Skip to content

Commit

Permalink
Fix build for x86_64.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanAlbert committed May 3, 2024
1 parent 7b7f7e0 commit f750d87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hello-neon/app/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ elseif (${ANDROID_ABI} STREQUAL "x86")
-Wno-constant-conversion \
-Wno-static-in-inline")
add_definitions(-DHAVE_NEON_X86=1 -DHAVE_NEON=1)
elseif (${ANDROID_ABI} STREQUAL "x86_64")
set(neon_SRCS helloneon-intrinsics.c)
add_definitions(-DHAVE_NEON_X86=1 -DHAVE_NEON=1)
else ()
set(neon_SRCS helloneon-intrinsics.c)
add_definitions("-DHAVE_NEON=1")
Expand Down

0 comments on commit f750d87

Please sign in to comment.