autospec/patches/autospec-1.4.15-pass_target_before_defines.patch
2011-04-26 21:39:44 +02:00

13 lines
577 B
Diff

diff -Nru autospec-1.4.15.orig//plugins/pck-update.in autospec-1.4.15/plugins/pck-update.in
--- autospec-1.4.15.orig//plugins/pck-update.in 2010-03-24 21:40:44.000000000 +0100
+++ autospec-1.4.15/plugins/pck-update.in 2010-04-03 14:13:54.314056254 +0200
@@ -2138,7 +2138,7 @@
# check if we are cross-compiling
[ "$BUILD_ARCH" != "$target_cpu" ] &&
- rpmbuild_opts="$rpmbuild_opts --target $target_cpu"
+ rpmbuild_opts="--target $target_cpu $rpmbuild_opts"
[ "$cleanup" = "1" ] && rpmbuild_opts="$rpmbuild_opts --clean"