Date: Sun, 3 Jul 2011 19:08:28 +0200 From: Alberto Villa <avilla@freebsd.org> To: Chris Rees <crees@freebsd.org> Cc: ports@freebsd.org, Rene Ladan <rene@freebsd.org>, Oliver Pinter <oliver.pntr@gmail.com> Subject: Re: failed bsd.qt.mk fix... Message-ID: <201107031908.31427.avilla@freebsd.org> In-Reply-To: <CADLo83-4sUmEbNNBuUBg3aNnWkf=-yrmNz1BMmCgjBTbmSKboQ@mail.gmail.com> References: <BANLkTikbaBVbLoU47YECC=hjN%2BaunoeURw@mail.gmail.com> <201107020136.03974.avilla@freebsd.org> <CADLo83-4sUmEbNNBuUBg3aNnWkf=-yrmNz1BMmCgjBTbmSKboQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1357030.0LpN1Y5vuU Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Sunday 03 July 2011 15:25:09 Chris Rees wrote: > As I read it, while it supports a system where cc is a link to clang, > it still clobbers whatever ${CC} variable I have set. this is wrong. here is how the logic works: =2D find if cc is gcc or clang =2D if CXX is the default c++, then we're using the system compiler (gcc or= =20 clang) =2D otherwise, find what CXX refers to, and set it as the qt compiler (if a= nd=20 only if there is a qmakespec for this compiler, otherwise fall back to the= =20 system one) this works fine with cc linking to gcc, and CXX=3Dclang++, and passed other= =20 tests using make -VQMAKESPEC CXX=3Dsomething =2D-=20 Alberto Villa, FreeBSD committer <avilla@FreeBSD.org> http://people.FreeBSD.org/~avilla What this country needs is a dime that will buy a good five-cent bagel. --nextPart1357030.0LpN1Y5vuU Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iJwEAAECAAYFAk4Qog8ACgkQ3xiC6kQ1Cov7DAQArPUsxISOvHpHiX6bmy4BEWD/ MjkRyIJlTwHRBW87nIKbWcQEpOXTIX9T1TFzjYbzns39KNSQ38fvnjWh27s8oe1U JR8U/RZgFAs/92AGeP75UQ/OJz73HcJqmlZAjoJKAy9KDdcz8992Q1Qe7+l8M7YI 99lQFPMEy8/+AQz238o= =Kjf6 -----END PGP SIGNATURE----- --nextPart1357030.0LpN1Y5vuU--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107031908.31427.avilla>