Don't use TARGET_ARCH in this file, use MACHINE_ARCH instead.
TARGET_ARCH is not defined when building ports/packages. Sponsored by: DARPA, AFRL
This commit is contained in:
parent
bc2d1fb2fb
commit
2f7f197723
@ -366,7 +366,7 @@ CFLAGS += -mcpu=8540 -Wa,-me500 -mspe=yes -mabi=spe -mfloat-gprs=double
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "riscv"
|
||||
.if ${TARGET_ARCH:Mriscv*sf}
|
||||
.if ${MACHINE_ARCH:Mriscv*sf}
|
||||
CFLAGS += -march=rv64imac -mabi=lp64
|
||||
ACFLAGS += -march=rv64imac -mabi=lp64
|
||||
.else
|
||||
|
Loading…
Reference in New Issue
Block a user