pkg-update: --target needs to be passed as last option to rpmbuild
This commit is contained in:
parent
ec9f775c87
commit
e5052816bb
@ -2092,7 +2092,7 @@ ${proxy:+--proxy $proxy} ${proxy_user:+--proxy-user $proxy_user} \
|
|||||||
|
|
||||||
# check if we are cross-compiling
|
# check if we are cross-compiling
|
||||||
[ "$BUILD_ARCH" != "$target_cpu" ] &&
|
[ "$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"
|
[ "$cleanup" = "1" ] && rpmbuild_opts="$rpmbuild_opts --clean"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user