Merge pull request #532 from 0lvin/arm64

fix march armv8
This commit is contained in:
Yamagi 2020-03-20 08:38:02 +01:00 committed by GitHub
commit 466e689695
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -169,7 +169,7 @@ if ("${ARCH}" STREQUAL "arm")
if (CMAKE_SIZEOF_VOID_P EQUAL 4)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=armv6k")
else()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=armv8.0-a")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=armv8-a")
endif()
endif()

View file

@ -193,7 +193,7 @@ CFLAGS += -march=armv6k
endif
ifeq ($(YQ2_ARCH), aarch64)
CFLAGS += -march=armv8.0-a
CFLAGS += -march=armv8-a
endif
# ----------