Re: [PATCH] qgit: allow overriding CCFLAGS
- From
Fernando J. Pereda <ferdy@ferdyx.org>
- Date
- Dec 23, 2005, 23:29 UTC
- Message-ID
- <20051223232934.GA28582@ferdyx.org>
- In-Reply-To
- <1135380226.18431.21.camel@dv>
On Fri, Dec 23, 2005 at 06:23:46PM -0500, Pavel Roskin wrote: | This patch allows overriding CCFLAGS by setting an environment variable | or an argument to make.
That'd be nice... I have an ugly sed in the Gentoo ebuild to workaround that. However...
| -env.Append( CCFLAGS = ['-O2', '-Wall' ,'-Wno-non-virtual-dtor'] )
| +env.Append( CCFLAGS = os.environ.get('CCFLAGS', ['-O2', '-Wall', '-Wno-non-virtual-dtor']) )... shouldn't the enviroment variable be CXXFLAGS ?
Cheers, Ferdy
-- Fernando J. Pereda Garcimartín Gentoo Developer (Alpha,net-mail,mutt,git) 20BB BDC3 761A 4781 E6ED ED0B 0A48 5B0C 60BD 28D4