Skip to content

Commit 50822b8

Browse files
committed
Fix compilation on Mac M1 without -DHAVE_ARM
1 parent 70d1660 commit 50822b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ if (NATIVE_ARCH AND (ARCH_FLAGS STREQUAL ""))
6666
set(ARCH_FLAGS "-march=native")
6767
endif()
6868
else ()
69-
if (PPC64)
69+
if (PPC64 OR ARM)
7070
set(ARCH_FLAGS "-mcpu=native")
7171
else ()
7272
set(ARCH_FLAGS "-march=native")

0 commit comments

Comments
 (0)