Package: pentium-builder
Version: 0.18
Severity: important

Here's an updated version of builder-cc, 
which handles the case where DEBIAN_BUILDGCCVER has been defined, 
but DEBIAN_BUILDARCH has not. Not in patch format, but it's pretty short:

$ cat /usr/bin/builder-cc
#! /usr/bin/perl

if ($ENV{DEBIAN_BUILDARCH} eq undef && $ENV{DEBIAN_BUILDGCCVER} eq undef) {
    @target = ("gcc.real", @ARGV);
} elsif ($ENV{DEBIAN_BUILDARCH} eq undef) {
    @target = ("gcc-" . $ENV{DEBIAN_BUILDGCCVER}, @ARGV);
} elsif ($ENV{DEBIAN_BUILDGCCVER} eq undef) {
    @target = ("gcc.real", "-mcpu=$ENV{DEBIAN_BUILDARCH}",
    "-march=$ENV{DEBIAN_BUILDARCH}", @ARGV);
} else {
    @target = ("gcc-" . $ENV{DEBIAN_BUILDGCCVER},
    "-mcpu=$ENV{DEBIAN_BUILDARCH}", "-march=$ENV{DEBIAN_BUILDARCH}",
    @ARGV);
}


-- System Information:
Debian Release: testing/unstable
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages pentium-builder depends on:
ii  g++                           4:3.3.5-3  The GNU C++ compiler
ii  gcc                           4:3.3.5-3  The GNU C compiler
ii  perl                          5.8.7-4    Larry Wall's Practical Extraction 

pentium-builder recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to