svn commit: r244278 - head/sys/boot/arm/uboot

Garrett Cooper yanegomi at gmail.com
Sat Dec 15 21:57:08 UTC 2012


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
> 
> Log:
>  Ignore a warning in ubldr where clang doesn't understand the %D printf
>  specifier from libstand.
> 
> Modified:
>  head/sys/boot/arm/uboot/Makefile
> 
> Modified: head/sys/boot/arm/uboot/Makefile
> ==============================================================================
> --- 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+=	-I${.OBJDIR}/../../uboot/lib
> # where to get libstand from
> CFLAGS+=	-I${.CURDIR}/../../../../lib/libstand/
> 
> +# clang doesn't understand %D as a specifier to printf
> +NO_WERROR.clang=
> +
> DPADD=		${LIBFICL} ${LIBUBOOT} ${LIBFDT} ${LIBSTAND}
> LDADD=		${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/709c2b0a47ec887f8df3a886d318c309a0659bf6 )?
Thanks,
-Garrett


More information about the svn-src-all mailing list