Date: Sat, 15 Dec 2012 13:57:02 -0800 From: Garrett Cooper <yanegomi@gmail.com> To: Andrew Turner <andrew@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r244278 - head/sys/boot/arm/uboot Message-ID: <ED62CF37-07A2-43D0-8985-79F6F577CD19@gmail.com> In-Reply-To: <201212152147.qBFLl6f1043013@svn.freebsd.org> References: <201212152147.qBFLl6f1043013@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 15, 2012, at 1:47 PM, Andrew Turner wrote: > Author: andrew > Date: Sat Dec 15 21:47:05 2012 > New Revision: 244278 > URL: http://svnweb.freebsd.org/changeset/base/244278 >=20 > Log: > Ignore a warning in ubldr where clang doesn't understand the %D = printf > specifier from libstand. >=20 > Modified: > head/sys/boot/arm/uboot/Makefile >=20 > Modified: head/sys/boot/arm/uboot/Makefile > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/sys/boot/arm/uboot/Makefile Sat Dec 15 21:33:12 2012 = (r244277) > +++ head/sys/boot/arm/uboot/Makefile Sat Dec 15 21:47:05 2012 = (r244278) > @@ -109,6 +109,9 @@ CFLAGS+=3D -I${.OBJDIR}/../../uboot/lib > # where to get libstand from > CFLAGS+=3D -I${.CURDIR}/../../../../lib/libstand/ >=20 > +# clang doesn't understand %D as a specifier to printf > +NO_WERROR.clang=3D > + > DPADD=3D ${LIBFICL} ${LIBUBOOT} ${LIBFDT} ${LIBSTAND} > LDADD=3D ${LIBFICL} ${LIBUBOOT} ${LIBFDT} -lstand Why not fix it similar to how I fixed libi386/pxe.c on my git = branch ( = https://github.com/yaneurabeya/freebsd/commit/709c2b0a47ec887f8df3a886d318= c309a0659bf6 )? Thanks, -Garrett=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ED62CF37-07A2-43D0-8985-79F6F577CD19>