summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorVyacheslav Barinov <v.barinov@samsung.com>2016-01-18 10:51:29 +0300
committerVyacheslav Barinov <v.barinov@samsung.com>2016-01-18 10:51:29 +0300
commitb13a8a51629764a352ef35791618ff75416144ed (patch)
tree53104fe3f7d8cc5931e68aa260da17edcce233b7 /packaging
parentfc9a147bf8fcea54236bf3c338d8199863042e99 (diff)
downloadlinaro-gcc-b13a8a51629764a352ef35791618ff75416144ed.tar.gz
linaro-gcc-b13a8a51629764a352ef35791618ff75416144ed.tar.bz2
linaro-gcc-b13a8a51629764a352ef35791618ff75416144ed.zip
Without the flag build will only work for native build roots but not for OBS cross-builds Change-Id: If24f0675ea01e925792480944736ddc468a0ff55 Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/gcc-aarch64.spec2
-rw-r--r--packaging/gcc-armv7l.spec2
-rw-r--r--packaging/gcc.spec2
3 files changed, 3 insertions, 3 deletions
diff --git a/packaging/gcc-aarch64.spec b/packaging/gcc-aarch64.spec
index 9a754bfebe0..21c904e0cc5 100644
--- a/packaging/gcc-aarch64.spec
+++ b/packaging/gcc-aarch64.spec
@@ -632,7 +632,7 @@ pushd ${HOME}
for pkg in gmp mpfr mpc isl cloog-isl; do
sh -c "rpmbuild ${RPMBUILD_CMDLINE} /home/abuild/rpmbuild/SOURCES/${pkg}.spec"
RPM_NAME=$(find '/home/abuild/rpmbuild/RPMS' -name "${pkg}-*.rpm" -not -name '*.src.rpm' -not -name '*debug*')
- sudo rpm -i ${RPM_NAME}
+ sudo rpm -i --ignorearch ${RPM_NAME}
find '/home/abuild/rpmbuild/' -name "${pkg}*.rpm" -delete
done
popd
diff --git a/packaging/gcc-armv7l.spec b/packaging/gcc-armv7l.spec
index 4763720db42..9bc314d496d 100644
--- a/packaging/gcc-armv7l.spec
+++ b/packaging/gcc-armv7l.spec
@@ -632,7 +632,7 @@ pushd ${HOME}
for pkg in gmp mpfr mpc isl cloog-isl; do
sh -c "rpmbuild ${RPMBUILD_CMDLINE} /home/abuild/rpmbuild/SOURCES/${pkg}.spec"
RPM_NAME=$(find '/home/abuild/rpmbuild/RPMS' -name "${pkg}-*.rpm" -not -name '*.src.rpm' -not -name '*debug*')
- sudo rpm -i ${RPM_NAME}
+ sudo rpm -i --ignorearch ${RPM_NAME}
find '/home/abuild/rpmbuild/' -name "${pkg}*.rpm" -delete
done
popd
diff --git a/packaging/gcc.spec b/packaging/gcc.spec
index d067a3cdb28..e6263b11a03 100644
--- a/packaging/gcc.spec
+++ b/packaging/gcc.spec
@@ -629,7 +629,7 @@ pushd ${HOME}
for pkg in gmp mpfr mpc isl cloog-isl; do
sh -c "rpmbuild ${RPMBUILD_CMDLINE} /home/abuild/rpmbuild/SOURCES/${pkg}.spec"
RPM_NAME=$(find '/home/abuild/rpmbuild/RPMS' -name "${pkg}-*.rpm" -not -name '*.src.rpm' -not -name '*debug*')
- sudo rpm -i ${RPM_NAME}
+ sudo rpm -i --ignorearch ${RPM_NAME}
find '/home/abuild/rpmbuild/' -name "${pkg}*.rpm" -delete
done
popd