summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi/libefi
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2014-07-22 04:37:47 +0000
committersbruno <sbruno@FreeBSD.org>2014-07-22 04:37:47 +0000
commit5d507bfa20c895a04b1381f1fa901c870b0a214f (patch)
treead67a54cc9319850b1622dbfd2febf4e1fdfeca4 /sys/boot/efi/libefi
parentc07ff79d30ac2b8fd5217946473782faf03a8657 (diff)
downloadFreeBSD-src-5d507bfa20c895a04b1381f1fa901c870b0a214f.zip
FreeBSD-src-5d507bfa20c895a04b1381f1fa901c870b0a214f.tar.gz
Supress clang warning for FreeBSD printf %b and %D formats
MFC after: 2 weeks
Diffstat (limited to 'sys/boot/efi/libefi')
-rw-r--r--sys/boot/efi/libefi/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/boot/efi/libefi/Makefile b/sys/boot/efi/libefi/Makefile
index df37f31..60cb43f 100644
--- a/sys/boot/efi/libefi/Makefile
+++ b/sys/boot/efi/libefi/Makefile
@@ -16,4 +16,8 @@ CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
# Pick up the bootstrap header for some interface items
CFLAGS+= -I${.CURDIR}/../../common
+
+# Suppress warning from clang for FreeBSD %b and %D formats
+CFLAGS+= -fformat-extensions
+
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud