MFH: r526016

security/nss: fix build with GCC architectures

-Werror=unused-function causes:
verified/kremlin/kremlib/dist/minimal/FStar_UInt128.h:82:37: error: 'FStar_UInt128_mul32' declared 'static' but never defined [-Werror=unused-function]
   82 | inline static FStar_UInt128_uint128 FStar_UInt128_mul32(uint64_t x, uint32_t y);

Add -Wno-error=unused-function to fix build.

Approved by:	portmgr (ports tree compliance)
This commit is contained in:
Piotr Kubaj 2020-02-13 14:18:22 +00:00
parent 0cb6642b4d
commit eff95a2608
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q1/; revision=526017

View File

@ -30,7 +30,7 @@ MAKE_ENV= LIBRARY_PATH="${LOCALBASE}/lib" \
FREEBL_LOWHASH=1 \
NSS_DISABLE_GTESTS=1 \
NSS_USE_SYSTEM_SQLITE=1
CFLAGS+= -I${LOCALBASE}/include/nspr
CFLAGS+= -I${LOCALBASE}/include/nspr -Wno-error=unused-function
SUB_FILES= nss-config nss.pc
SUB_LIST= PORTVERSION=${PORTVERSION}