aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2016-06-15 00:07:00 +0100
committerPascal Terjan <pterjan@gmail.com>2016-06-15 00:07:00 +0100
commite23aeb149fb6ed3878a2db57cd907b39c52173f3 (patch)
treefb1d02c225fd4df9962063804756ca2ba38b1b51
parent5910f6fc8dae892fb03aa43d6f060e6687847dc0 (diff)
downloadiurt-e23aeb149fb6ed3878a2db57cd907b39c52173f3.tar
iurt-e23aeb149fb6ed3878a2db57cd907b39c52173f3.tar.gz
iurt-e23aeb149fb6ed3878a2db57cd907b39c52173f3.tar.bz2
iurt-e23aeb149fb6ed3878a2db57cd907b39c52173f3.tar.xz
iurt-e23aeb149fb6ed3878a2db57cd907b39c52173f3.zip
Always accept to build for the current arch
-rwxr-xr-xiurt2
1 files changed, 1 insertions, 1 deletions
diff --git a/iurt b/iurt
index b302d6a..990a107 100755
--- a/iurt
+++ b/iurt
@@ -539,7 +539,7 @@ if (!$run{chrooted_urpmi} && $run{group}) {
}
$run{my_arch} or usage($program_name, \@params, "no architecture given (media $run{media}, run{my_arch} $run{my_arch}, todo", join(', ', @{$run{todo}}));
-if (!$arch_comp{$real_arch}{$run{my_arch}}) {
+if ($run{my_arch} ne $real_arch && !$arch_comp{$real_arch}{$run{my_arch}}) {
die "FATAL $program_name: could not compile $run{my_arch} binaries on a $real_arch";
}
config_init(\%config_usage, $config, \%run);