- 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:
parent
2da5396355
commit
8b0f1f3b6b
@ -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
|
Tue Oct 18 10:42:09 UTC 2011 - idonmez@suse.com
|
||||||
|
|
||||||
|
@ -180,6 +180,11 @@ cd stage2
|
|||||||
%makeinstall
|
%makeinstall
|
||||||
cd ..
|
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
|
# cleanup
|
||||||
file %{buildroot}/%{_bindir}/* | awk -F: '$2~/ELF/{print $1}' | xargs -r chrpath -d
|
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
|
file %{buildroot}/%{_libdir}/%{name}/*.so | awk -F: '$2~/ELF/{print $1}' | xargs -r chrpath -d
|
||||||
|
Loading…
x
Reference in New Issue
Block a user