Added a workaround for LLVM bug #22661

See https://llvm.org/bugs/show_bug.cgi?id=22661.
This commit is contained in:
Evgenii Shatokhin 2015-11-24 12:28:55 +03:00
parent 6c24cc7432
commit 092e0ee5f5

View file

@ -423,6 +423,9 @@ 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
%make
%install