Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Dec 2017 00:57:07 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r457657 - head/Mk
Message-ID:  <201712310057.vBV0v7BZ031230@repo.freebsd.org>

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

Log:
  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

Modified:
  head/Mk/bsd.gecko.mk   (contents, props changed)

Modified: head/Mk/bsd.gecko.mk
==============================================================================
--- head/Mk/bsd.gecko.mk	Sun Dec 31 00:56:43 2017	(r457656)
+++ head/Mk/bsd.gecko.mk	Sun Dec 31 00:57:06 2017	(r457657)
@@ -311,6 +311,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?201712310057.vBV0v7BZ031230>