Skip to content

Commit 89b60da

Browse files
authored
Merge pull request #1987 from martin-frbg/issue1961
Change ARMV8 target with BINARY=32 to ARMV7 automatically
2 parents 3f7bb87 + 58dd7e4 commit 89b60da

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Makefile.system

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ endif
9595
ifeq ($(TARGET), ZEN)
9696
GETARCH_FLAGS := -DFORCE_BARCELONA
9797
endif
98+
ifeq ($(TARGET), ARMV8)
99+
GETARCH_FLAGS := -DFORCE_ARMV7
100+
endif
98101
endif
99102

100103

cmake/system.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ if (DEFINED BINARY AND DEFINED TARGET AND BINARY EQUAL 32)
3939
if (${TARGET} STREQUAL "BULLDOZER" OR ${TARGET} STREQUAL "PILEDRIVER" OR ${TARGET} STREQUAL "ZEN")
4040
set(TARGET "BARCELONA")
4141
endif ()
42+
if (${TARGET} STREQUAL "ARMV8" OR ${TARGET} STREQUAL "CORTEXA57" OR ${TARGET} STREQUAL "CORTEXA53")
43+
set(TARGET "ARMV7")
44+
endif ()
4245
endif ()
4346

4447
if (DEFINED TARGET)

0 commit comments

Comments
 (0)