Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Dec 2017 00:58:13 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r457658 - branches/2017Q4/Mk
Message-ID:  <201712310058.vBV0wDNC031394@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Dec 31 00:58:13 2017
New Revision: 457658
URL: https://svnweb.freebsd.org/changeset/ports/457658

Log:
  MFH: r457657
  
  www/firefox: unbreak OPTIMIZED_CFLAGS=off build after r450707
  
  x86_64-unknown-freebsd/release/libgkrust.a: could not read symbols: File format not recognized
  
  PR:		222641
  Reported by:	many
  Approved by:	ports-secteam blanket

Modified:
  branches/2017Q4/Mk/bsd.gecko.mk
Directory Properties:
  branches/2017Q4/   (props changed)

Modified: branches/2017Q4/Mk/bsd.gecko.mk
==============================================================================
--- branches/2017Q4/Mk/bsd.gecko.mk	Sun Dec 31 00:57:06 2017	(r457657)
+++ branches/2017Q4/Mk/bsd.gecko.mk	Sun Dec 31 00:58:13 2017	(r457658)
@@ -290,6 +290,13 @@ MOZ_EXPORT+=	MOZ_OPTIMIZE_FLAGS="${CFLAGS:M-O*}"
 MOZ_OPTIONS+=	--enable-optimize
 .else
 MOZ_OPTIONS+=	--disable-optimize
+. if ${MOZILLA_VER:R:R} >= 56
+.  if ${/usr/bin/ld:L:tA} != "/usr/bin/ld.lld"
+# ld 2.17 barfs on Stylo built with -C opt-level=0
+USE_BINUTILS=	yes
+LDFLAGS+=		-B${LOCALBASE}/bin
+.  endif
+. endif
 .endif
 
 .if ${PORT_OPTIONS:MCANBERRA}



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