Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2020 14:17:24 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r526016 - head/security/nss
Message-ID:  <202002131417.01DEHOps064742@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002131417.01DEHOps064742>