mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 18:10:52 +08:00
Use patch -p1 instead of patch -p0 for gcc patches.
This commit is contained in:
@@ -2,11 +2,15 @@
|
||||
%setup -c -T -n %{name}-%{version}
|
||||
|
||||
%setup -q -T -D -n %{name}-%{version} -a0
|
||||
%{?PATCH0:%patch0 -p0}
|
||||
cd gcc-%{gcc_pkgvers}
|
||||
%{?PATCH0:%patch0 -p1}
|
||||
cd ..
|
||||
|
||||
%if %build_cxx
|
||||
%setup -q -T -D -n %{name}-%{version} -a1
|
||||
%{?PATCH1:%patch1 -p0}
|
||||
cd gcc-%{gcc_pkgvers}
|
||||
%{?PATCH1:%patch1 -p1}
|
||||
cd ..
|
||||
%endif
|
||||
|
||||
%if %build_fortran
|
||||
|
||||
Reference in New Issue
Block a user