RISC-V: enable MK_FORMAT_EXTENSIONS

This option was marked as broken because our riscv64-xtoolchain-gcc
package lacked support. Since we are moving away from xtoolchain gcc in
favor of freebsd-gcc9, there should be no issue in enabling this option
by default.

Notably, this enables -Wformat errors.

Reviewed by:	kp, jhb
Differential Revision:	https://reviews.freebsd.org/D26320
This commit is contained in:
Mitchell Horne 2020-09-08 13:24:44 +00:00
parent 7c7b8f577e
commit bc42dacb0e

View File

@ -80,10 +80,6 @@ BROKEN_OPTIONS+= CDDL ZFS SSP
BROKEN_OPTIONS+= ZFS
.endif
.if ${MACHINE_CPUARCH} == "riscv"
BROKEN_OPTIONS+= FORMAT_EXTENSIONS
.endif
# Things that don't work because the kernel doesn't have the support
# for them.
.if ${MACHINE} != "i386" && ${MACHINE} != "amd64"