From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SZtCI-0006Ae-5v for garchives@archives.gentoo.org; Thu, 31 May 2012 00:25:02 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 27790E0874; Thu, 31 May 2012 00:24:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id EF2C4E0874 for ; Thu, 31 May 2012 00:24:49 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5A37D1B4023 for ; Thu, 31 May 2012 00:24:49 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 559) id 791CC2004B; Thu, 31 May 2012 00:24:47 +0000 (UTC) From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: flag-o-matic.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: flag-o-matic.eclass X-VCS-Directories: eclass X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Message-Id: <20120531002447.791CC2004B@flycatcher.gentoo.org> Date: Thu, 31 May 2012 00:24:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: cfbf6fb8-aec1-4ccc-b56e-8b592ea8e763 X-Archives-Hash: 0bf1d12a5b0091bd45322a43b6c7c556 vapier 12/05/31 00:24:47 Modified: flag-o-matic.eclass Log: also warn on -Wl, flags passed to append-flags Revision Changes Path 1.172 eclass/flag-o-matic.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-mati= c.eclass?rev=3D1.172&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-mati= c.eclass?rev=3D1.172&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-mati= c.eclass?r1=3D1.171&r2=3D1.172 Index: flag-o-matic.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v retrieving revision 1.171 retrieving revision 1.172 diff -u -r1.171 -r1.172 --- flag-o-matic.eclass 30 May 2012 07:59:51 -0000 1.171 +++ flag-o-matic.eclass 31 May 2012 00:24:47 -0000 1.172 @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.171 20= 12/05/30 07:59:51 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.172 20= 12/05/31 00:24:47 vapier Exp $ =20 # @ECLASS: flag-o-matic.eclass # @MAINTAINER: @@ -206,7 +206,8 @@ [[ $# -eq 0 ]] && return 0 case " $* " in *' '-[DIU]*) eqawarn 'please use append-cppflags for preprocessor flags= ' ;; - *' '-L*) eqawarn 'please use append-ldflags for linker flags' ;; + *' '-L*|\ + *' '-Wl,*') eqawarn 'please use append-ldflags for linker flags' ;; esac append-cflags "$@" append-cxxflags "$@"