From owner-svn-ports-head@freebsd.org Tue Nov 28 12:57:58 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 A6477E55CCB; Tue, 28 Nov 2017 12:57:58 +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 7368063C3D; Tue, 28 Nov 2017 12:57:58 +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 vASCvv0W071765; Tue, 28 Nov 2017 12:57:57 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vASCvvUq071764; Tue, 28 Nov 2017 12:57:57 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201711281257.vASCvvUq071764@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Tue, 28 Nov 2017 12:57:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455039 - head/Mk X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/Mk X-SVN-Commit-Revision: 455039 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: Tue, 28 Nov 2017 12:57:58 -0000 Author: jbeich Date: Tue Nov 28 12:57:57 2017 New Revision: 455039 URL: https://svnweb.freebsd.org/changeset/ports/455039 Log: gecko: respect CPUTYPE for Rust code After r454995 build may fail if SSE2 is only enabled for C/C++ code as simd crate expects SSE2 based on MACHINE_CPU. PR: 223415 223300 Reported by: vvd@unislabs.com Modified: head/Mk/bsd.gecko.mk (contents, props changed) Modified: head/Mk/bsd.gecko.mk ============================================================================== --- head/Mk/bsd.gecko.mk Tue Nov 28 11:52:52 2017 (r455038) +++ head/Mk/bsd.gecko.mk Tue Nov 28 12:57:57 2017 (r455039) @@ -147,10 +147,12 @@ MOZ_PKGCONFIG_FILES?= ${MOZILLA}-gtkmozembed ${MOZILLA ALL_TARGET?= build MOZ_EXPORT+= ${CONFIGURE_ENV} \ + RUSTFLAGS="${RUSTFLAGS}" \ PERL="${PERL}" MOZ_OPTIONS+= --prefix="${PREFIX}" MOZ_MK_OPTIONS+=MOZ_OBJDIR="${MOZ_OBJDIR}" +RUSTFLAGS+= ${CFLAGS:M-march=*:S/-march=/-C target-cpu=/} LDFLAGS+= -Wl,--as-needed .if ${MOZILLA_VER:R:R} < 55 && ${OPSYS} == FreeBSD && ${OSVERSION} < 1200032