summaryrefslogtreecommitdiffstats
path: root/sys/boot/arm
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2012-12-15 21:47:05 +0000
committerandrew <andrew@FreeBSD.org>2012-12-15 21:47:05 +0000
commit856bcc6178750def68b3cc4d68a64e26abdd10c8 (patch)
tree21f47b10e3eeb52cbbd63e2965e86075de92719c /sys/boot/arm
parenta1795c288278b3904701b9a313c104496083d0a7 (diff)
downloadFreeBSD-src-856bcc6178750def68b3cc4d68a64e26abdd10c8.zip
FreeBSD-src-856bcc6178750def68b3cc4d68a64e26abdd10c8.tar.gz
Ignore a warning in ubldr where clang doesn't understand the %D printf
specifier from libstand.
Diffstat (limited to 'sys/boot/arm')
-rw-r--r--sys/boot/arm/uboot/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/boot/arm/uboot/Makefile b/sys/boot/arm/uboot/Makefile
index c9940ed..1974218 100644
--- a/sys/boot/arm/uboot/Makefile
+++ b/sys/boot/arm/uboot/Makefile
@@ -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
OpenPOWER on IntegriCloud