libcbor: Ignore errors for unknown #pragmas

libcbor embeds clang-specific #pragmas that GCC then warns about.

Reviewed by:	emaste

(cherry picked from commit 6ca0468a2f)
This commit is contained in:
John Baldwin 2024-05-07 11:44:52 -07:00 • committed by Dimitry Andric
parent 28ff3ab2ab
commit 1dfb2690cc

View file

@ -30,6 +30,7 @@ SRCS+= cbor/internal/unicode.c
CFLAGS+= -I${DIST}/src -I${.CURDIR}
WARNS?= 2
IGNORE_PRAGMA=
MAN=
.include <bsd.lib.mk>