/usr/bin/builder-cc is in pentium-builder 0.21.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #! /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);
}
exec @target or die "Unable to exec @target[0]: $!\n";
|