[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#894965: dpkg-architecture should stop warning about unset CC



On Wed, Apr 11, 2018 at 05:31:15PM +0100, Wookey wrote:
> On 2018-04-06 11:54 +0200, tomas@tuxteam.de wrote:
> > On Thu, Apr 05, 2018 at 05:46:18PM +0200, Helmut Grohne wrote:
> > 
> > > I think this warning is obsolete as we assume that the packaging sets up
> > > CC. For most cases, it actually happens automatically:
> > >  * dh_auto_build passes it to make.
> > >  * If you include /usr/share/dpkg/buildtools.mk in debian/rules, it'll
> > >    be correct.
> > 
> > Hm. I can't find that file. Apt-file (and packages.debian.org) can't
> > either?
> 
> It's part of dpkg-dev (but was typoed: /usr/share/dpkg/buildflags.mk )

It really is buildtools.mk. buildflags.mk will set CFLAGS, but not CC.

Helmut


Reply to: