[Build-common-hackers] 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 13:57:48 UTC 2009
On Sunday 21 June 2009 13:57:05 Martin-Éric Racine wrote:
> 2009/6/17 Martin-Éric Racine <q-funk at iki.fi>:
> > In the case where an upstream tarball comes with a single C file and
> > no Makefile, the only option a maintainer has is to create a manual
> > build target in debian/rules to compile the binary and to include
> > class/langcore.mk to always use the standard Debian build options.
> 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?
More information about the Build-common-hackers