diff options
author | imp <imp@FreeBSD.org> | 2016-05-18 05:58:58 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2016-05-18 05:58:58 +0000 |
commit | 2b56fc97b9eabf1a146f1a2bee438f9856ed0b7e (patch) | |
tree | 084d89272e0481acbf0750c244d88a2bafb57b6d /sys/boot/efi | |
parent | 09779a5229cf3e88e2b21800f48ccfc6c762d0fd (diff) | |
download | FreeBSD-src-2b56fc97b9eabf1a146f1a2bee438f9856ed0b7e.zip FreeBSD-src-2b56fc97b9eabf1a146f1a2bee438f9856ed0b7e.tar.gz |
Fix build breakage on arm64 by papering over the problem. We implement
a slightly non-standard %S that's more useful in the UEFI environment,
so ignore printf errors. There's no good cast to use. We'll need to
revisit this in the future.
Diffstat (limited to 'sys/boot/efi')
-rw-r--r-- | sys/boot/efi/loader/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/boot/efi/loader/Makefile b/sys/boot/efi/loader/Makefile index f4f6cbf..2d1fffa 100644 --- a/sys/boot/efi/loader/Makefile +++ b/sys/boot/efi/loader/Makefile @@ -31,6 +31,13 @@ CWARNFLAGS.zfs.c+= -Wno-array-bounds CWARNFLAGS.zfs.c+= -Wno-missing-prototypes .endif +# We implement a slightly non-stadard %S in that it always takes a +# CHAR16 that's common in UEFI-land instaed of a wchar_t. This only +# seems to matter on arm64 where wchar_t defaults to a int instead of +# a short. There's no good cast to use here, so just ignore the +# warnings for now. +CWARNFLAGS.main.c+= -Wno-format + .PATH: ${.CURDIR}/arch/${MACHINE} # For smbios.c .PATH: ${.CURDIR}/../../i386/libi386 |