mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-28 23:31:57 +00:00
fix march armv8
This commit is contained in:
parent
558ee70b3e
commit
eeff4dae43
2 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
||||
|
|
2
Makefile
2
Makefile
|
@ -193,7 +193,7 @@ CFLAGS += -march=armv6k
|
|||
endif
|
||||
|
||||
ifeq ($(YQ2_ARCH), aarch64)
|
||||
CFLAGS += -march=armv8.0-a
|
||||
CFLAGS += -march=armv8-a
|
||||
endif
|
||||
|
||||
# ----------
|
||||
|
|
Loading…
Reference in a new issue