MFC r277355: For armv6 builds, add -mfloat-abi=softfp.

This commit is contained in:
ian 2015-02-13 20:49:49 +00:00
parent 0d83b78040
commit 2210ee3484

View File

@ -257,6 +257,10 @@ MACHINE_CPU = v9 ultrasparc ultrasparc3
CFLAGS += -G0
.endif
.if ${MACHINE_ARCH} == "armv6"
_CPUCFLAGS += -mfloat-abi=softfp
.endif
# NB: COPTFLAGS is handled in /usr/src/sys/conf/kern.pre.mk
.if !defined(NO_CPU_CFLAGS)