From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: flag-o-matic.eclass |
Date: | Thu, 31 May 2012 00:25:02 |
Message-Id: | 20120531002447.791CC2004B@flycatcher.gentoo.org |
1 | vapier 12/05/31 00:24:47 |
2 | |
3 | Modified: flag-o-matic.eclass |
4 | Log: |
5 | also warn on -Wl, flags passed to append-flags |
6 | |
7 | Revision Changes Path |
8 | 1.172 eclass/flag-o-matic.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.172&view=markup |
11 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.172&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?r1=1.171&r2=1.172 |
13 | |
14 | Index: flag-o-matic.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v |
17 | retrieving revision 1.171 |
18 | retrieving revision 1.172 |
19 | diff -u -r1.171 -r1.172 |
20 | --- flag-o-matic.eclass 30 May 2012 07:59:51 -0000 1.171 |
21 | +++ flag-o-matic.eclass 31 May 2012 00:24:47 -0000 1.172 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2012 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.171 2012/05/30 07:59:51 jlec Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.172 2012/05/31 00:24:47 vapier Exp $ |
27 | |
28 | # @ECLASS: flag-o-matic.eclass |
29 | # @MAINTAINER: |
30 | @@ -206,7 +206,8 @@ |
31 | [[ $# -eq 0 ]] && return 0 |
32 | case " $* " in |
33 | *' '-[DIU]*) eqawarn 'please use append-cppflags for preprocessor flags' ;; |
34 | - *' '-L*) eqawarn 'please use append-ldflags for linker flags' ;; |
35 | + *' '-L*|\ |
36 | + *' '-Wl,*') eqawarn 'please use append-ldflags for linker flags' ;; |
37 | esac |
38 | append-cflags "$@" |
39 | append-cxxflags "$@" |