[Build-common-hackers] Bug#487546: cdbs: class/langcore.mk should set CC=gcc if CC is not set

Martin-Éric Racine q-funk at iki.fi
Sun Jun 22 15:11:39 UTC 2008

Package: cdbs
Version: 0.4.52
Severity: normal

Hash: SHA1

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.

- -- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (300, 'testing'), (1, 'unstable')
Architecture: i386 (i586)

Kernel: Linux 2.6.25-dbe61 (PREEMPT)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cdbs depends on:
ii  debhelper                     7.0.10     helper programs for debian/rules

Versions of packages cdbs recommends:
ii  autotools-dev                 20080123.1 Update infrastructure for config.{

- -- no debconf information

Version: GnuPG v1.4.6 (GNU/Linux)


More information about the Build-common-hackers mailing list