mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 10:35:42 +00:00
Fix i386 build
These binaries are not created on i386, so don't try to remove them. Alternatively could use rm -f.
This commit is contained in:
parent
bee7a61730
commit
06767d80d8
1 changed files with 3 additions and 1 deletions
|
@ -231,9 +231,11 @@ rm -rf %{buildroot}/%{_datarootdir}/gdb
|
||||||
# chmod go+w %{buildroot}/%{_datarootdir}/gdb/python/ompd/ompdModule.so
|
# chmod go+w %{buildroot}/%{_datarootdir}/gdb/python/ompd/ompdModule.so
|
||||||
# chmod +w %{buildroot}/%{_datarootdir}/gdb/python/ompd/ompdModule.so
|
# chmod +w %{buildroot}/%{_datarootdir}/gdb/python/ompd/ompdModule.so
|
||||||
|
|
||||||
|
%ifnarch %{ix86}
|
||||||
# Remove files that we don't package, yet.
|
# Remove files that we don't package, yet.
|
||||||
rm %{buildroot}%{install_bindir}/llvm-omp-device-info
|
rm %{buildroot}%{install_bindir}/llvm-omp-device-info
|
||||||
rm %{buildroot}%{install_bindir}/llvm-omp-kernel-replay
|
rm %{buildroot}%{install_bindir}/llvm-omp-kernel-replay
|
||||||
|
%endif
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue