- Fix libdir on x86_64

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=71
This commit is contained in:
Ismail Dönmez 2011-10-19 15:46:09 +00:00 committed by Git OBS Bridge
parent 2da5396355
commit 8b0f1f3b6b
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 19 15:47:10 UTC 2011 - idonmez@suse.com
- Fix libdir on x86_64
-------------------------------------------------------------------
Tue Oct 18 10:42:09 UTC 2011 - idonmez@suse.com

View File

@ -180,6 +180,11 @@ cd stage2
%makeinstall
cd ..
# Fixup libdir for x86-64
%ifarch x86_64
sed -i s,ABS_RUN_DIR/lib,ABS_RUN_DIR/lib64, %{buildroot}/%{_bindir}/llvm-config
%endif
# cleanup
file %{buildroot}/%{_bindir}/* | awk -F: '$2~/ELF/{print $1}' | xargs -r chrpath -d
file %{buildroot}/%{_libdir}/%{name}/*.so | awk -F: '$2~/ELF/{print $1}' | xargs -r chrpath -d