Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2020 14:18:22 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r526017 - branches/2020Q1/security/nss
Message-ID:  <202002131418.01DEIMq5064939@repo.freebsd.org>

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



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