[Build-common-hackers] Bug#487546: Bug#487546: cdbs: class/langcore.mk should set CC=gcc if CC is not set
peter_e at gmx.net
Sun Jun 14 10:58:53 UTC 2009
On Sunday 22 June 2008 18:11:39 Martin-Éric Racine wrote:
> class/langcore.mk sets -g -Wall -O2 without checking whether CC can actualy
> process these options. For instance, -g produces output that is partially
> GDB-specific. On most GNU software, autotools perform these check for us
> and set CC=gcc autogamically. On other software, CC is often left unset.
> This is mostly okay on a Debian system, because the presumption is that
> CC=gcc, but we can never be sure of what parallel compilers, etc. someone
> might run, so it would be desirable for class/langcore.mk to set CC=gcc is
> it is unset.
Do you have a concrete counterexample where the current code does not work?
More information about the Build-common-hackers