1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00

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.
This commit is contained in:
Warner Losh 2016-05-18 05:58:58 +00:00
parent 0f897f87b9
commit 4a619be4bb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300116

View File

@ -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