svn commit: r409667 - head/security/nss

Baptiste Daroussin bapt at FreeBSD.org
Sat Feb 27 13:39:42 UTC 2016


Author: bapt
Date: Sat Feb 27 13:39:40 2016
New Revision: 409667
URL: https://svnweb.freebsd.org/changeset/ports/409667

Log:
  When linking nss uses plain CC and does not pass CFLAGS
  Append the path to the ports binutils on amd64 to CC so linking actually uses
  the expected binutils
  
  This fixes build with binutils 2.26

Modified:
  head/security/nss/Makefile

Modified: head/security/nss/Makefile
==============================================================================
--- head/security/nss/Makefile	Sat Feb 27 13:26:24 2016	(r409666)
+++ head/security/nss/Makefile	Sat Feb 27 13:39:40 2016	(r409667)
@@ -56,7 +56,7 @@ BINS=		${DIST}/${OPSYS}${OSREL}_DBG.OBJ
 
 .if ${ARCH} == amd64
 USE_BINUTILS=	# intel-gcm.s
-CFLAGS+=	-B${LOCALBASE}/bin
+CC+=	-B${LOCALBASE}/bin
 .endif
 
 check regression-test test:


More information about the svn-ports-all mailing list