summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Barinov <v.barinov@samsung.com>2021-09-07 14:45:51 +0300
committerSlava Barinov <v.barinov@samsung.com>2021-09-07 14:45:51 +0300
commit7980082b9c1f98505662c1aaa6b377241a76da40 (patch)
tree6acc50416505b6139b656da90744a3e8f7e9cc82
parent7b5bbe32f4c2fdd8e8c767f9f3906f109165453a (diff)
downloadqemu-accel-7980082b9c1f98505662c1aaa6b377241a76da40.tar.gz
qemu-accel-7980082b9c1f98505662c1aaa6b377241a76da40.tar.bz2
qemu-accel-7980082b9c1f98505662c1aaa6b377241a76da40.zip
include-fixed added
Change-Id: If17f923b5a6686faec271b26f6ec434838cc7384 Signed-off-by: Slava Barinov <v.barinov@samsung.com>
-rw-r--r--packaging/qemu-accel-aarch64.spec2
-rw-r--r--packaging/qemu-accel-armv7hl.spec2
-rw-r--r--packaging/qemu-accel-armv7l.spec2
-rw-r--r--packaging/qemu-accel.spec.in2
4 files changed, 8 insertions, 0 deletions
diff --git a/packaging/qemu-accel-aarch64.spec b/packaging/qemu-accel-aarch64.spec
index 358e270..1dc49ec 100644
--- a/packaging/qemu-accel-aarch64.spec
+++ b/packaging/qemu-accel-aarch64.spec
@@ -574,10 +574,12 @@ comm -13 %{_sourcedir}/qemu-accel.list python-full.list | sort -u > %{_sourcedir
# Add gcc header path symlinks
mkdir -p %{buildroot}/%{_libdir}/gcc/%{_host}/${gcc_version}/
ln -sf ${gcc_install_dir}/include %{buildroot}%{_libdir}/gcc/%{_host}/${gcc_version}/include
+ln -sf ${gcc_install_dir}/include-fixed %{buildroot}%{_libdir}/gcc/%{_host}/${gcc_version}/include-fixed
# Prepare clang files list
sed -e 's|^|%{emul_path}|;s|%{emul_path}/%{_lib}|%{emul_path}%{_libdir}|' clang.list | sort -u > clang-full.list
# Add gcc header paths symlink without /emul prefix
echo "%{_libdir}/gcc/%{_host}/${gcc_version}/include" >> clang-full.list
+echo "%{_libdir}/gcc/%{_host}/${gcc_version}/include-fixed" >> clang-full.list
# Remove common files from clang-accel
comm -13 %{_sourcedir}/qemu-accel.list clang-full.list > %{_sourcedir}/clang-accel.list
diff --git a/packaging/qemu-accel-armv7hl.spec b/packaging/qemu-accel-armv7hl.spec
index 6d30ac2..503edf9 100644
--- a/packaging/qemu-accel-armv7hl.spec
+++ b/packaging/qemu-accel-armv7hl.spec
@@ -574,10 +574,12 @@ comm -13 %{_sourcedir}/qemu-accel.list python-full.list | sort -u > %{_sourcedir
# Add gcc header path symlinks
mkdir -p %{buildroot}/%{_libdir}/gcc/%{_host}/${gcc_version}/
ln -sf ${gcc_install_dir}/include %{buildroot}%{_libdir}/gcc/%{_host}/${gcc_version}/include
+ln -sf ${gcc_install_dir}/include-fixed %{buildroot}%{_libdir}/gcc/%{_host}/${gcc_version}/include-fixed
# Prepare clang files list
sed -e 's|^|%{emul_path}|;s|%{emul_path}/%{_lib}|%{emul_path}%{_libdir}|' clang.list | sort -u > clang-full.list
# Add gcc header paths symlink without /emul prefix
echo "%{_libdir}/gcc/%{_host}/${gcc_version}/include" >> clang-full.list
+echo "%{_libdir}/gcc/%{_host}/${gcc_version}/include-fixed" >> clang-full.list
# Remove common files from clang-accel
comm -13 %{_sourcedir}/qemu-accel.list clang-full.list > %{_sourcedir}/clang-accel.list
diff --git a/packaging/qemu-accel-armv7l.spec b/packaging/qemu-accel-armv7l.spec
index a188f5f..69d9734 100644
--- a/packaging/qemu-accel-armv7l.spec
+++ b/packaging/qemu-accel-armv7l.spec
@@ -574,10 +574,12 @@ comm -13 %{_sourcedir}/qemu-accel.list python-full.list | sort -u > %{_sourcedir
# Add gcc header path symlinks
mkdir -p %{buildroot}/%{_libdir}/gcc/%{_host}/${gcc_version}/
ln -sf ${gcc_install_dir}/include %{buildroot}%{_libdir}/gcc/%{_host}/${gcc_version}/include
+ln -sf ${gcc_install_dir}/include-fixed %{buildroot}%{_libdir}/gcc/%{_host}/${gcc_version}/include-fixed
# Prepare clang files list
sed -e 's|^|%{emul_path}|;s|%{emul_path}/%{_lib}|%{emul_path}%{_libdir}|' clang.list | sort -u > clang-full.list
# Add gcc header paths symlink without /emul prefix
echo "%{_libdir}/gcc/%{_host}/${gcc_version}/include" >> clang-full.list
+echo "%{_libdir}/gcc/%{_host}/${gcc_version}/include-fixed" >> clang-full.list
# Remove common files from clang-accel
comm -13 %{_sourcedir}/qemu-accel.list clang-full.list > %{_sourcedir}/clang-accel.list
diff --git a/packaging/qemu-accel.spec.in b/packaging/qemu-accel.spec.in
index e1b238b..e205b56 100644
--- a/packaging/qemu-accel.spec.in
+++ b/packaging/qemu-accel.spec.in
@@ -571,10 +571,12 @@ comm -13 %{_sourcedir}/qemu-accel.list python-full.list | sort -u > %{_sourcedir
# Add gcc header path symlinks
mkdir -p %{buildroot}/%{_libdir}/gcc/%{_host}/${gcc_version}/
ln -sf ${gcc_install_dir}/include %{buildroot}%{_libdir}/gcc/%{_host}/${gcc_version}/include
+ln -sf ${gcc_install_dir}/include-fixed %{buildroot}%{_libdir}/gcc/%{_host}/${gcc_version}/include-fixed
# Prepare clang files list
sed -e 's|^|%{emul_path}|;s|%{emul_path}/%{_lib}|%{emul_path}%{_libdir}|' clang.list | sort -u > clang-full.list
# Add gcc header paths symlink without /emul prefix
echo "%{_libdir}/gcc/%{_host}/${gcc_version}/include" >> clang-full.list
+echo "%{_libdir}/gcc/%{_host}/${gcc_version}/include-fixed" >> clang-full.list
# Remove common files from clang-accel
comm -13 %{_sourcedir}/qemu-accel.list clang-full.list > %{_sourcedir}/clang-accel.list