fix march armv8

This commit is contained in:
Denis Pauk 2020-03-20 08:01:36 +02:00
parent 558ee70b3e
commit eeff4dae43
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) if (CMAKE_SIZEOF_VOID_P EQUAL 4)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=armv6k") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=armv6k")
else() else()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=armv8.0-a") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=armv8-a")
endif() endif()
endif() endif()

View file

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