fix compiler-rt paths - from rwindz0@gmail.com - #1304605
This commit is contained in:
parent
cb23b8665b
commit
1f875a682d
@ -1,6 +1,6 @@
|
||||
Name: compiler-rt
|
||||
Version: 3.7.1
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: LLVM "compiler-rt" runtime libraries
|
||||
|
||||
License: NCSA or MIT
|
||||
@ -36,21 +36,27 @@ cd _build
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
# move sanitizer lists to better place
|
||||
mkdir -p %{buildroot}%{_datadir}/%{name}
|
||||
mkdir -p %{buildroot}%{_libdir}/clang/%{version}
|
||||
for file in asan_blacklist.txt dfsan_abilist.txt msan_blacklist.txt; do
|
||||
mv -v %{buildroot}%{_prefix}/${file} %{buildroot}%{_datadir}/%{name}/ || :
|
||||
mv -v %{buildroot}%{_prefix}/${file} %{buildroot}%{_libdir}/clang/%{version}/ || :
|
||||
done
|
||||
|
||||
# move sanitizer libs to better place
|
||||
mv -v %{buildroot}%{_prefix}/lib %{buildroot}%{_libdir}/clang/%{version}/lib
|
||||
|
||||
%check
|
||||
cd _build
|
||||
#make check-all
|
||||
|
||||
%files
|
||||
%{_includedir}
|
||||
%{_prefix}/lib/linux
|
||||
%{_datadir}/%{name}
|
||||
%{_libdir}/clang/%{version}
|
||||
%{_libdir}/clang/%{version}/lib
|
||||
|
||||
%changelog
|
||||
* Fri Feb 05 2016 Dave Airlie <airlied@redhat.com> 3.7.1-3
|
||||
- fix compiler-rt paths - from rwindz0@gmail.com - #1304605
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user