mirror of
https://abf.rosa.ru/djam/llvm12.git
synced 2025-02-23 23:32:50 +00:00
Use the workaround for LLVM bug #22661 in a proper place
This commit is contained in:
parent
092e0ee5f5
commit
c1829e1a19
1 changed files with 1 additions and 1 deletions
|
@ -421,10 +421,10 @@ sed -i 's|(PROJ_prefix)/lib|(PROJ_prefix)/%{_lib}/%{name}|g' Makefile.config
|
|||
# llvm-config.cpp hardcodes lib in it
|
||||
cd ..
|
||||
sed -i 's|ActiveLibDir = ActivePrefix + "/lib"|ActiveLibDir = ActivePrefix + "/%{_lib}/%{name}"|g' tools/llvm-config/llvm-config.cpp
|
||||
cd build
|
||||
|
||||
# FIXME https://llvm.org/bugs/show_bug.cgi?id=22661
|
||||
sed -ri "/ifeq.*CompilerTargetArch/s#i386#i686#g" projects/compiler-rt/make/platform/clang_linux.mk
|
||||
cd build
|
||||
|
||||
%make
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue