Gentoo Archives: gentoo-dev

From: Patrick McLean <chutzpah@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: [gentoo-dev] automatically killing invalid CFLAGS/warning about bad CFLAGS
Date: Thu, 13 Apr 2006 19:52:11
Message-Id: 443EAB73.6030804@gentoo.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 For about a month now, we (amd64) have had some code in our
5 profile.bashrc that filters CFLAGS that are unrecognized by gcc, and
6 warnings the user about bad CFLAGS.
7
8 So far it has worked fairly well, and it has really cut down on the
9 number of bugs that filed by people with extreme ricer CFLAGS. It might
10 be an idea to have something similar in the global bashrc, and have a
11 system for arches to customize the CFLAGS that are warned about.
12
13 The code is at gentoo-x86/profiles/default-linux/amd64/profile.bashrc
14 for those who want to see it.
15 -----BEGIN PGP SIGNATURE-----
16 Version: GnuPG v1.4.2.2 (GNU/Linux)
17 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
18
19 iD8DBQFEPqtzWt/XSf2CZdkRArCCAKCR66ousc1+FGOMvz9hGxqFsA0jWQCfbyEM
20 YexV1DYsR286gW+XGyG9Ah4=
21 =ha1J
22 -----END PGP SIGNATURE-----
23 --
24 gentoo-dev@g.o mailing list

Replies