mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-19 16:23:29 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335369
|
@ -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 a new issue