svn commit: r457658 - branches/2017Q4/Mk
Jan Beich
jbeich at FreeBSD.org
Sun Dec 31 00:58:14 UTC 2017
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}
More information about the svn-ports-branches
mailing list