Re: [gentoo-user] ebuild: package specific CFLAGS

2017-04-28 Thread Neil Bothwick
On Fri, 28 Apr 2017 19:10:42 -0700, 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() { > eco

Re: [gentoo-user] ebuild: package specific CFLAGS

2017-04-28 Thread John Covici
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() { > e

[gentoo-user] ebuild: package specific CFLAGS

2017-04-28 Thread Ian Zimmerman
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 _o