summaryrefslogtreecommitdiff
path: root/packaging/qemu-accel-armv7l.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/qemu-accel-armv7l.spec')
-rw-r--r--packaging/qemu-accel-armv7l.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/qemu-accel-armv7l.spec b/packaging/qemu-accel-armv7l.spec
index 69d9734..9ac8c81 100644
--- a/packaging/qemu-accel-armv7l.spec
+++ b/packaging/qemu-accel-armv7l.spec
@@ -544,6 +544,11 @@ sed -e "s,#CLANG_POSTIN#,rpm -qa --qf '%%%%{NAME}' | grep force-options \&\& chm
# Use /usr/lib for cross clang libdir on armv7l architecture
%{?armv7l:
awk '/post "/ && !x {print " post \"echo export\\ CLANG_NO_LIBDIR_SUFFIX=1 >> /etc/profile\""; print $0; x=1;next} 1' %{_sourcedir}/baselibs.conf > baselibs_updated && mv baselibs_updated %{_sourcedir}/baselibs.conf
+ }
+
+# Use /usr/lib for cross clang libdir on armv7hl architecture
+%{?armv7hl:
+awk '/post "/ && !x {print " post \"echo export\\ CLANG_NO_LIBDIR_SUFFIX=1 >> /etc/profile\""; print $0; x=1;next} 1' %{_sourcedir}/baselibs.conf > baselibs_updated && mv baselibs_updated %{_sourcedir}/baselibs.conf
}
%{?multilib: