check whether arch-test exists
This commit is contained in:
parent
46f477f339
commit
d26f5de912
1 changed files with 3 additions and 0 deletions
|
@ -3221,6 +3221,9 @@ sub main() {
|
||||||
sparc64 => 'sparc64',
|
sparc64 => 'sparc64',
|
||||||
};
|
};
|
||||||
if ($hostarch ne $options->{nativearch}) {
|
if ($hostarch ne $options->{nativearch}) {
|
||||||
|
if (system('arch-test --version>/dev/null') != 0) {
|
||||||
|
error "install arch-test for foreign architecture support";
|
||||||
|
}
|
||||||
my $withemu = 0;
|
my $withemu = 0;
|
||||||
my $noemu = 0;
|
my $noemu = 0;
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue