Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2013 12:47:06 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Peter Harrison <four.harrisons@googlemail.com>
Cc:        questions@freebsd.org
Subject:   Re: How to compile a port with GCC instead of clang
Message-ID:  <20131208114706.GA56474@slackbox.erewhon.net>
In-Reply-To: <CAA3eX7ZaOAavQ4a-Xn76vPYH2tyaXqLiDbKa82eKF_wa=OOuBg@mail.gmail.com>
References:  <CAA3eX7aEgiO7THQBMp4tH7H1xAq4o2tgrfRJ=rgGhw36hOv2qA@mail.gmail.com> <CAA3eX7ZaOAavQ4a-Xn76vPYH2tyaXqLiDbKa82eKF_wa=OOuBg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131208114706.GA56474>