svn commit: r526016 - head/security/nss
Piotr Kubaj
pkubaj at FreeBSD.org
Thu Feb 13 14:17:24 UTC 2020
Author: pkubaj
Date: Thu Feb 13 14:17:23 2020
New Revision: 526016
URL: https://svnweb.freebsd.org/changeset/ports/526016
Log:
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)
MFH: 2020Q1 (ports tree compliance)
Modified:
head/security/nss/Makefile
Modified: head/security/nss/Makefile
==============================================================================
--- head/security/nss/Makefile Thu Feb 13 13:44:33 2020 (r526015)
+++ head/security/nss/Makefile Thu Feb 13 14:17:23 2020 (r526016)
@@ -31,7 +31,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}
More information about the svn-ports-head
mailing list