Author: sbruno
Date: Tue Jul 22 04:37:47 2014
New Revision: 268974
URL: http://svnweb.freebsd.org/changeset/base/268974
Log:
Supress clang warning for FreeBSD printf %b and %D formats
MFC after: 2 weeks
Modified:
head/sys/boot/efi/libefi/Makefile
head/sys/boot/i386/libi386/Makefile
Modified: head/sys/boot/efi/libefi/Makefile
==============================================================================
--- head/sys/boot/efi/libefi/Makefile Tue Jul 22 03:59:14 2014
(r268973)
+++ head/sys/boot/efi/libefi/Makefile Tue Jul 22 04:37:47 2014
(r268974)
@@ -16,4 +16,8 @@ CFLAGS+= -I${.CURDIR}/../../../../lib/li
# 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>
Modified: head/sys/boot/i386/libi386/Makefile
==============================================================================
--- head/sys/boot/i386/libi386/Makefile Tue Jul 22 03:59:14 2014
(r268973)
+++ head/sys/boot/i386/libi386/Makefile Tue Jul 22 04:37:47 2014
(r268974)
@@ -55,6 +55,9 @@ CFLAGS+= -I${.CURDIR}/../../common -I${.
# the location of libstand
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
+# Suppress warning from clang for FreeBSD %b and %D formats
+CFLAGS+= -fformat-extensions
+
.if ${MACHINE_CPUARCH} == "amd64"
CLEANFILES+= machine
machine:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"