From owner-svn-ports-head@freebsd.org Sun Dec 31 00:57:08 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59102EB687C; Sun, 31 Dec 2017 00:57:08 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 23AC276FA5; Sun, 31 Dec 2017 00:57:08 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBV0v7A1031231; Sun, 31 Dec 2017 00:57:07 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBV0v7BZ031230; Sun, 31 Dec 2017 00:57:07 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201712310057.vBV0v7BZ031230@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sun, 31 Dec 2017 00:57:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457657 - head/Mk X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/Mk X-SVN-Commit-Revision: 457657 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Dec 2017 00:57:08 -0000 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}