Subject: Re: -ffast-math and packages
To: David <abs@mono.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: tech-pkg
Date: 05/23/2003 12:38:21
--HywJcj55HbA57jnN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi,

On Fri, May 23, 2003 at 11:20:05AM +0100, David wrote:
> I'd like to be able to set my default CFLAGS to include -ffast-math,
> but there are certain packages where this would be a Bad Thing
> (postgresql comes to mind).
>=20
> Would anyone object to me adding another pkgsrc variable set that can
> be used to indicate where packages must not be optimised in a certain
> way (that can then be tested in mk.conf).
>=20
> Maybe OPTIMISE_EXCLUDE_FAST_MATH=3Dyes ?

why not just use CFLAGS:=3D ${CFLAGS:S/-ffast-math//} ?


regards,

--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>                   --
--                  <salo@silcnet.org>                   --

--HywJcj55HbA57jnN
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (NetBSD)

iD8DBQE+zfodiwjDDlS8cmMRAk8gAJ9xSH95v6aiOtbjJaAHocZvlAEkpQCfRQwY
QrJmkqyDt22RZM/9EN+8JF8=
=PMr3
-----END PGP SIGNATURE-----

--HywJcj55HbA57jnN--