Summary(pl.UTF-8): Niskopoziomowa maszyna wirtualna (infrastruktura kompilatora optymalizującego)
Name: llvm
Version: 3.9.1
-Release: 2
+Release: 3.2
License: University of Illinois/NCSA Open Source License
Group: Development/Languages
#Source0Download: http://llvm.org/releases/download.html
Patch3: x32-gcc-toolchain.patch
Patch4: cmake-buildtype.patch
Patch5: %{name}-ocaml-shared.patch
+Patch6: D35246.diff
URL: http://llvm.org/
BuildRequires: bash
BuildRequires: bison
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p0
grep -rl /usr/bin/env tools utils | xargs sed -i -e '1{
s,^#!.*bin/env python,#!%{__python},
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
-DBUILD_SHARED_LIBS:BOOL=OFF \
-DENABLE_LINKER_BUILD_ID:BOOL=ON \
+ -DLLVM_BINUTILS_INCDIR:STRING=%{_includedir} \
../
%{__make} \
# non-soname symlink
%attr(755,root,root) %{_libdir}/libLLVM-%{version}.so
%attr(755,root,root) %{_libdir}/libLTO.so
+%attr(755,root,root) %{_libdir}/LLVMgold.so
%files devel
%defattr(644,root,root,755)