From owner-freebsd-questions@FreeBSD.ORG Sun Dec 8 11:47:15 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C9E6592B for ; Sun, 8 Dec 2013 11:47:15 +0000 (UTC) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.freebsd.org (Postfix) with ESMTP id 6413E1DD9 for ; Sun, 8 Dec 2013 11:47:14 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id rB8Bl7sn090413; Sun, 8 Dec 2013 12:47:07 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 02E3612428; Sun, 8 Dec 2013 12:47:07 +0100 (CET) Date: Sun, 8 Dec 2013 12:47:06 +0100 From: Roland Smith To: Peter Harrison Subject: Re: How to compile a port with GCC instead of clang Message-ID: <20131208114706.GA56474@slackbox.erewhon.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.22 (2013-10-16) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Dec 2013 11:47:15 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 08, 2013 at 10:54:55AM +0000, Peter Harrison wrote: > Hello list. >=20 > How can I compile www/chromium with GCC instead of clang? >=20 > If I compile it with clang I end up with a broken binary that won't render > pages properly. If I compile it with gcc it works flawlessly. >=20 > But the knob to choose gcc has been removed in the recent updates. So now= I > have a broken chromium. How can I compile it with gcc instead? Add the following to your /etc/make.conf: =2Eif ${.CURDIR:M*/www/chromium} USE_GCC?=3Dyes =2Eendif See /usr/ports/Mk/bsd.gcc.mk for the possible values of USE_GCC. Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iEYEARECAAYFAlKkXDoACgkQEnfvsMMhpyWWsgCcCv4kFLHq62t93jcGUxlrYnII bCgAn0hs0Zwg6e/g4VjXCoKBEJzllohz =yPrB -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT--