mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-25 01:35:17 +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
8d45d61a8d
commit
9c52ec74ce
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