mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Fix the patch opts logic typo.
This commit is contained in:
parent
4f67f781cb
commit
a420a64794
@ -76,16 +76,16 @@ Source22: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.bz2
|
||||
# newlib
|
||||
%setup -q -D -T -n %{name}-%{version} -a10
|
||||
cd newlib-%{newlib_version}
|
||||
%{?patch10:%patch10 %{?patch10_opts:%{patch10_opts}}%{?!patch10_opts:-p1}}
|
||||
%{?patch11:%patch11 %{?patch11_opts:%{patch11_opts}}%{?!patch11_opts:-p1}}
|
||||
%{?patch12:%patch12 %{?patch12_opts:%{patch12_opts}}%{?!patch12_opts:-p1}}
|
||||
%{?patch13:%patch13 %{?patch13_opts:%{patch13_opts}}%{?!patch13_opts:-p1}}
|
||||
%{?patch14:%patch14 %{?patch14_opts:%{patch14_opts}}%{?!patch14_opts:-p1}}
|
||||
%{?patch15:%patch15 %{?patch15_opts:%{patch15_opts}}%{?!patch15_opts:-p1}}
|
||||
%{?patch16:%patch16 %{?patch16_opts:%{patch16_opts}}%{?!patch16_opts:-p1}}
|
||||
%{?patch17:%patch17 %{?patch17_opts:%{patch17_opts}}%{?!patch17_opts:-p1}}
|
||||
%{?patch18:%patch18 %{?patch18_opts:%{patch18_opts}}%{?!patch18_opts:-p1}}
|
||||
%{?patch19:%patch19 %{?patch19_opts:%{patch19_opts}}%{?!patch19_opts:-p1}}
|
||||
%{?patch10:%patch10 %{?patch10_opts:%{patch10_opts}}%{!?patch10_opts:-p1}}
|
||||
%{?patch11:%patch11 %{?patch11_opts:%{patch11_opts}}%{!?patch11_opts:-p1}}
|
||||
%{?patch12:%patch12 %{?patch12_opts:%{patch12_opts}}%{!?patch12_opts:-p1}}
|
||||
%{?patch13:%patch13 %{?patch13_opts:%{patch13_opts}}%{!?patch13_opts:-p1}}
|
||||
%{?patch14:%patch14 %{?patch14_opts:%{patch14_opts}}%{!?patch14_opts:-p1}}
|
||||
%{?patch15:%patch15 %{?patch15_opts:%{patch15_opts}}%{!?patch15_opts:-p1}}
|
||||
%{?patch16:%patch16 %{?patch16_opts:%{patch16_opts}}%{!?patch16_opts:-p1}}
|
||||
%{?patch17:%patch17 %{?patch17_opts:%{patch17_opts}}%{!?patch17_opts:-p1}}
|
||||
%{?patch18:%patch18 %{?patch18_opts:%{patch18_opts}}%{!?patch18_opts:-p1}}
|
||||
%{?patch19:%patch19 %{?patch19_opts:%{patch19_opts}}%{!?patch19_opts:-p1}}
|
||||
cd ..
|
||||
|
||||
# Link newlib into the gcc source tree
|
||||
|
Loading…
x
Reference in New Issue
Block a user