On Fri, 28 Apr 2017 22:10:42 -0400, Ian Zimmerman wrote: > > I'm trying to create an ebuild of a crufty old program that needs > -fgnu89-inline in compiler flags to have any chance of building. > > What's the way to do that in an ebuild? I could have something like > > src_configure() { > econf $(use_enable nls) CFLAGS=-fgnu89-inline > } > > but then, will this not _override_ (rather than add to, as desired) the > CFLAGS from make.conf?
Maybe you'd be better off setting an environment variable outside the ebuild in a shell script in /etc/portage/env where you can put the whole CCFLAGS . -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com