Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Feb 2016 13:39:40 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409667 - head/security/nss
Message-ID:  <201602271339.u1RDdeRn002590@repo.freebsd.org>

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



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