gentoo-user@gentoo.org wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Nick Rout wrote: >> I thought perhaps >> >> CFLAGS="whatever" CXXFLAGS="${CFLAGS}" emerge foo >> >> no doubt some dev guru will tell me I am way out of line :-) > > wrong! there's nothing wrong with doing that. If it was something like > ACCEPT_KEYWORDS you were setting, that'd be different :) > > One thing to note though, is that your reasoning is flawed when setting > CXXFLAGS to $CFLAGS. CFLAGS wont be equal to "whatever" until after > you hit > enter, so unless CFLAGS is already set in your env, CXXFLAGS will be > null. If > it is set in your env, CXXFLAGS will be whatever CFLAGS is in your > env, not > "whatever". > So, the correct way would be (??): #CFLAGS="whatever" #CXXFLAGS=CFLAGS #emerge something
> Cheers > - -- > Zeere's nu secret tu belunce-a. Yuoo joost hefe-a tu feel zee vefes. > Bork Bork Bork! > > -- Dervee Oodrede-a > antonio -- gentoo-user@gentoo.org mailing list