powerpcspe: use -mspe instead of -mspe=yes to enable SPE
-mspe=yes/no was deprecated even before GCC 4.2.1 in favor of -mspe/-mno-spe. Clang only supports -mspe/-mno-spe.
This commit is contained in:
parent
7e390f677e
commit
52751739b9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=354600
@ -137,7 +137,7 @@ _CPUCFLAGS = -Wa,-me500 -msoft-float
|
||||
_CPUCFLAGS = -mcpu=${CPUTYPE} -mno-powerpc64
|
||||
. endif
|
||||
. elif ${MACHINE_ARCH} == "powerpcspe"
|
||||
_CPUCFLAGS = -Wa,-me500 -mspe=yes -mabi=spe -mfloat-gprs=double -mcpu=8548
|
||||
_CPUCFLAGS = -Wa,-me500 -mspe -mabi=spe -mfloat-gprs=double -mcpu=8548
|
||||
. elif ${MACHINE_ARCH} == "powerpc64"
|
||||
_CPUCFLAGS = -mcpu=${CPUTYPE}
|
||||
. elif ${MACHINE_CPUARCH} == "mips"
|
||||
@ -367,7 +367,7 @@ LDFLAGS+= -Wl,--secure-plt
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "powerpcspe"
|
||||
CFLAGS += -mcpu=8548 -Wa,-me500 -mspe=yes -mabi=spe -mfloat-gprs=double
|
||||
CFLAGS += -mcpu=8548 -Wa,-me500 -mspe -mabi=spe -mfloat-gprs=double
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "riscv"
|
||||
|
Loading…
Reference in New Issue
Block a user