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 /packaging/qemu-accel.spec.in | |
parent | 9d190f67faec2914e9347d21e485077f1d6e5f7c (diff) | |
download | qemu-accel-08cccaab45a70795f6bb72184e84640dafe315f5.tar.gz qemu-accel-08cccaab45a70795f6bb72184e84640dafe315f5.tar.bz2 qemu-accel-08cccaab45a70795f6bb72184e84640dafe315f5.zip |
Remove requirements of host gccsandbox/nmerinov/llvm
Diffstat (limited to 'packaging/qemu-accel.spec.in')
-rw-r--r-- | packaging/qemu-accel.spec.in | 2 |
1 files changed, 1 insertions, 1 deletions
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` |