summaryrefslogtreecommitdiffstats
path: root/sys/boot/pc98
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2014-09-28 13:13:18 +0000
committernyan <nyan@FreeBSD.org>2014-09-28 13:13:18 +0000
commitaa0a0308d2126a1c698f8ee9338276c0783beb04 (patch)
treea14cd3bafe6b2191046949b7a1880f636e1dd1b0 /sys/boot/pc98
parent59e5559dad7ab60f0dd87714d7f52bfc42dd1931 (diff)
downloadFreeBSD-src-aa0a0308d2126a1c698f8ee9338276c0783beb04.zip
FreeBSD-src-aa0a0308d2126a1c698f8ee9338276c0783beb04.tar.gz
MFi386: r268974
Supress clang warning for FreeBSD printf %b and %D formats.
Diffstat (limited to 'sys/boot/pc98')
-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