diff --git a/llvm.changes b/llvm.changes index 9d6453e..ef18d28 100644 --- a/llvm.changes +++ b/llvm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 7 09:17:40 UTC 2011 - idonmez@suse.com + +- Fix LLVMgold.so path for x86-64 + ------------------------------------------------------------------- Sun Nov 6 22:03:12 UTC 2011 - idonmez@suse.com diff --git a/llvm.spec b/llvm.spec index 4f11397..5d5651e 100644 --- a/llvm.spec +++ b/llvm.spec @@ -137,6 +137,11 @@ This package contains vim plugins for LLVM like syntax highlighting. sed -i s,SVN_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp +# Nasty hardcoded path +%ifarch x86_64 +sed -i s,/lib/LLVMgold.so,/lib64/LLVMgold.so, tools/clang/lib/Driver/Tools.cpp +%endif + %build TOPLEVEL=$PWD mkdir stage1 stage2