diff --git a/external/lgpl3/mpc/lib/libmpc/Makefile b/external/lgpl3/mpc/lib/libmpc/Makefile index 43f589a8e9bd..6b751f98108b 100644 --- a/external/lgpl3/mpc/lib/libmpc/Makefile +++ b/external/lgpl3/mpc/lib/libmpc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2020/09/26 07:57:56 mrg Exp $ +# $NetBSD: Makefile,v 1.6 2022/05/14 11:12:31 rillig Exp $ .include @@ -106,6 +106,12 @@ CPPFLAGS+= -I${.CURDIR} CPPFLAGS+= -I${NETBSDSRCDIR}/external/lgpl3/gmp/lib/libgmp/arch/${GMP_MACHINE_ARCH} CPPFLAGS+= -I${NETBSDSRCDIR}/external/lgpl3/mpfr/dist/src +# mostly mpfr.h, MPFR_VALUE_OF +LINTFLAGS+= -X 161 # constant in conditional context +# mostly mpc.h, MPC_RND_IM; +# mpc_rnd_t is declared as int even though only 8 bits are actually used +LINTFLAGS+= -X 117 # bitwise '>>' on signed value possibly nonportable + .include .PATH: ${.CURDIR}/../../dist/src