From 3c5b99b9b2cff9c46e16d5de22f9f0a8656cefe3 Mon Sep 17 00:00:00 2001 From: nyan Date: Mon, 3 Nov 2014 11:01:12 +0000 Subject: [PATCH] MFC: r272255 Supress clang warning for FreeBSD printf %b and %D formats. git-svn-id: svn://svn.freebsd.org/base/stable/10@274032 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/boot/pc98/libpc98/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/boot/pc98/libpc98/Makefile b/sys/boot/pc98/libpc98/Makefile index b4433a474..e612205de 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 -- 2.45.0