From e5052816bb871d2ce19e6f23b85f5e547b78904b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Sep 2014 01:06:02 +0200 Subject: [PATCH] pkg-update: --target needs to be passed as last option to rpmbuild --- plugins/pck-update.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pck-update.in b/plugins/pck-update.in index 0a486ae..8b746b6 100644 --- a/plugins/pck-update.in +++ b/plugins/pck-update.in @@ -2092,7 +2092,7 @@ ${proxy:+--proxy $proxy} ${proxy_user:+--proxy-user $proxy_user} \ # check if we are cross-compiling [ "$BUILD_ARCH" != "$target_cpu" ] && - rpmbuild_opts="--target $target_cpu $rpmbuild_opts" + rpmbuild_opts="$rpmbuild_opts --target $target_cpu" [ "$cleanup" = "1" ] && rpmbuild_opts="$rpmbuild_opts --clean"