[Build-common-hackers] Bug#487546: Bug#487546: Bug#487546: Bug#487546: cdbs: class/langcore.mk should set CC=gcc if CC is not set
petere at debian.org
Sun Jun 21 14:19:56 UTC 2009
On Sunday 21 June 2009 17:02:43 Martin-Éric Racine wrote:
> On Sun, Jun 21, 2009 at 4:57 PM, Peter Eisentraut<petere at debian.org> wrote:
> > On Sunday 21 June 2009 13:57:05 Martin-Éric Racine wrote:
> >> PS: this is precisely what I've had to do for CUPS-PDF in Debian, that
> >> is, create a compile line in debian/rules and, because langcore.mk
> >> doesn't set CC if it's empty, manually specific CC=gcc in debian/rules
> >> as a kludge.
> > There is still something unusual going on in your environment that you
> > are not telling us about. GNU make sets CC = cc implicitly. Does that
> > not happen for you? Or do you have a non-GCC compiler installed?
> Setting CC=cc is entirely the wrong thing to do when passing -g as a
> compiler option. If you pass -g, then you also need to specific
More information about the Build-common-hackers