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:
Ruslan Bukin 2018-06-19 13:28:02 +00:00
parent bc2d1fb2fb
commit 2f7f197723
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335369

View file

@ -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