diff options
author | Nikolai Merinov <n.merinov@samsung.com> | 2019-01-29 11:18:57 +0300 |
---|---|---|
committer | Nikolai Merinov <n.merinov@samsung.com> | 2019-01-29 11:37:56 +0300 |
commit | 08cccaab45a70795f6bb72184e84640dafe315f5 (patch) | |
tree | 0e2d548593644fae08129a0df024c822f8c6a6d7 | |
parent | 9d190f67faec2914e9347d21e485077f1d6e5f7c (diff) | |
download | qemu-accel-sandbox/nmerinov/llvm.tar.gz qemu-accel-sandbox/nmerinov/llvm.tar.bz2 qemu-accel-sandbox/nmerinov/llvm.zip |
Remove requirements of host gccsandbox/nmerinov/llvm
-rw-r--r-- | packaging/qemu-accel-aarch64.spec | 2 | ||||
-rw-r--r-- | packaging/qemu-accel-armv7hl.spec | 2 | ||||
-rw-r--r-- | packaging/qemu-accel-armv7l.spec | 2 | ||||
-rw-r--r-- | packaging/qemu-accel.spec.in | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/packaging/qemu-accel-aarch64.spec b/packaging/qemu-accel-aarch64.spec index 4d96c9e..6d2101c 100644 --- a/packaging/qemu-accel-aarch64.spec +++ b/packaging/qemu-accel-aarch64.spec @@ -130,7 +130,7 @@ This package is used in qemu-accel to accelerate clang compiler. %install set +x -gcc_version=`gcc --version | sed -ne '1s/[^0-9]*\(\([0-9]\.\?\)*\).*/\1/p'` +gcc_version=`%{target_arch}-gcc --version | sed -ne '1s/[^ ]*[^0-9]*\(\([0-9]\.\?\)*\).*/\1/p'` # just like it is determided in python.spec python_version=`python --version 2>&1 | sed -ne '1s/.* //p' | head -c 3` diff --git a/packaging/qemu-accel-armv7hl.spec b/packaging/qemu-accel-armv7hl.spec index fc5d190..9172bc2 100644 --- a/packaging/qemu-accel-armv7hl.spec +++ b/packaging/qemu-accel-armv7hl.spec @@ -130,7 +130,7 @@ This package is used in qemu-accel to accelerate clang compiler. %install set +x -gcc_version=`gcc --version | sed -ne '1s/[^0-9]*\(\([0-9]\.\?\)*\).*/\1/p'` +gcc_version=`%{target_arch}-gcc --version | sed -ne '1s/[^ ]*[^0-9]*\(\([0-9]\.\?\)*\).*/\1/p'` # just like it is determided in python.spec python_version=`python --version 2>&1 | sed -ne '1s/.* //p' | head -c 3` diff --git a/packaging/qemu-accel-armv7l.spec b/packaging/qemu-accel-armv7l.spec index bd36086..b15b8f6 100644 --- a/packaging/qemu-accel-armv7l.spec +++ b/packaging/qemu-accel-armv7l.spec @@ -130,7 +130,7 @@ This package is used in qemu-accel to accelerate clang compiler. %install set +x -gcc_version=`gcc --version | sed -ne '1s/[^0-9]*\(\([0-9]\.\?\)*\).*/\1/p'` +gcc_version=`%{target_arch}-gcc --version | sed -ne '1s/[^ ]*[^0-9]*\(\([0-9]\.\?\)*\).*/\1/p'` # just like it is determided in python.spec python_version=`python --version 2>&1 | sed -ne '1s/.* //p' | head -c 3` diff --git a/packaging/qemu-accel.spec.in b/packaging/qemu-accel.spec.in index 5fb3dcb..f206e0b 100644 --- a/packaging/qemu-accel.spec.in +++ b/packaging/qemu-accel.spec.in @@ -127,7 +127,7 @@ This package is used in qemu-accel to accelerate clang compiler. %install set +x -gcc_version=`gcc --version | sed -ne '1s/[^0-9]*\(\([0-9]\.\?\)*\).*/\1/p'` +gcc_version=`%{target_arch}-gcc --version | sed -ne '1s/[^ ]*[^0-9]*\(\([0-9]\.\?\)*\).*/\1/p'` # just like it is determided in python.spec python_version=`python --version 2>&1 | sed -ne '1s/.* //p' | head -c 3` |