svn commit: r526017 - branches/2020Q1/security/nss
Piotr Kubaj
pkubaj at FreeBSD.org
Thu Feb 13 14:18:23 UTC 2020
Author: pkubaj
Date: Thu Feb 13 14:18:22 2020
New Revision: 526017
URL: https://svnweb.freebsd.org/changeset/ports/526017
Log:
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)
Modified:
branches/2020Q1/security/nss/Makefile
Directory Properties:
branches/2020Q1/ (props changed)
Modified: branches/2020Q1/security/nss/Makefile
==============================================================================
--- branches/2020Q1/security/nss/Makefile Thu Feb 13 14:17:23 2020 (r526016)
+++ branches/2020Q1/security/nss/Makefile Thu Feb 13 14:18:22 2020 (r526017)
@@ -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}
More information about the svn-ports-all
mailing list