summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2014-11-03 11:01:12 +0000
committernyan <nyan@FreeBSD.org>2014-11-03 11:01:12 +0000
commit85b0a199370cc03e5e3b70c60606f3dc58b6a959 (patch)
tree82c448b5ce72101f94119d3e82a7ebfcfaca7397 /sys/boot
parentc2e8bf477989c267873ebd21e66778ae754c45a9 (diff)
downloadFreeBSD-src-85b0a199370cc03e5e3b70c60606f3dc58b6a959.zip
FreeBSD-src-85b0a199370cc03e5e3b70c60606f3dc58b6a959.tar.gz
MFC: r272255
Supress clang warning for FreeBSD printf %b and %D formats.
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/pc98/libpc98/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/boot/pc98/libpc98/Makefile b/sys/boot/pc98/libpc98/Makefile
index b4433a4..e612205 100644
--- a/sys/boot/pc98/libpc98/Makefile
+++ b/sys/boot/pc98/libpc98/Makefile
@@ -44,4 +44,7 @@ CFLAGS+= -I${.CURDIR}/../../common \
# the location of libstand
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
+# Suppress warning from clang for FreeBSD %b and %D formats
+CFLAGS+= -fformat-extensions
+
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud