svn commit: r457657 - head/Mk
Jan Beich
jbeich at FreeBSD.org
Sun Dec 31 00:57:08 UTC 2017
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}
More information about the svn-ports-head
mailing list