- Use %{_lib} macro instead of checking for x86_64
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=97
This commit is contained in:
parent
8e9524212e
commit
9db86cfd9d
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 29 13:23:32 UTC 2011 - idoenmez@suse.de
|
||||||
|
|
||||||
|
- Use %{_lib} macro instead of checking for x86_64
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 16 14:28:17 UTC 2011 - idonmez@suse.com
|
Wed Nov 16 14:28:17 UTC 2011 - idonmez@suse.com
|
||||||
|
|
||||||
|
@ -133,7 +133,7 @@ This package contains vim plugins for LLVM like syntax highlighting.
|
|||||||
sed -i s,SVN_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp
|
sed -i s,SVN_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp
|
||||||
|
|
||||||
# Nasty hardcoded path
|
# Nasty hardcoded path
|
||||||
%ifarch x86_64
|
%if "%{_lib}" == "lib64"
|
||||||
sed -i s,/lib/LLVMgold.so,/lib64/LLVMgold.so, tools/clang/lib/Driver/Tools.cpp
|
sed -i s,/lib/LLVMgold.so,/lib64/LLVMgold.so, tools/clang/lib/Driver/Tools.cpp
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -183,8 +183,8 @@ cd stage2
|
|||||||
%makeinstall
|
%makeinstall
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# Fixup libdir for x86-64
|
# Fixup libdir
|
||||||
%ifarch x86_64
|
%if "%{_lib}" == "lib64"
|
||||||
sed -i s,ABS_RUN_DIR/lib,ABS_RUN_DIR/lib64, %{buildroot}/%{_bindir}/llvm-config
|
sed -i s,ABS_RUN_DIR/lib,ABS_RUN_DIR/lib64, %{buildroot}/%{_bindir}/llvm-config
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user