mirror of
https://abf.rosa.ru/djam/kernel-5.15.git
synced 2025-02-24 02:52:55 +00:00
add more werror=0
This commit is contained in:
parent
6e0e21189d
commit
34a09b7478
1 changed files with 2 additions and 2 deletions
|
@ -1739,13 +1739,13 @@ LC_ALL=C sed -ri "s/^EXTRAVERSION.*/EXTRAVERSION = -%{fullrpmrel}/" Makefile
|
||||||
%if %{build_perf}
|
%if %{build_perf}
|
||||||
|
|
||||||
# perf tool binary and supporting scripts/binaries
|
# perf tool binary and supporting scripts/binaries
|
||||||
make -C tools/perf -s V=1 DESTDIR=%{buildroot} HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} lib=%{_lib} install
|
make -C tools/perf -s V=1 DESTDIR=%{buildroot} WERROR=0 HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} lib=%{_lib} install
|
||||||
|
|
||||||
# Versionize shebang (#!/usr/bin/env python -> #!/usr/bin/python3)
|
# Versionize shebang (#!/usr/bin/env python -> #!/usr/bin/python3)
|
||||||
sed -i -e '1 s,^.*$,#!%{__python3},' %{buildroot}%{_prefix}/libexec/perf-core/scripts/python/exported-sql-viewer.py
|
sed -i -e '1 s,^.*$,#!%{__python3},' %{buildroot}%{_prefix}/libexec/perf-core/scripts/python/exported-sql-viewer.py
|
||||||
|
|
||||||
# perf man pages (note: implicit rpm magic compresses them later)
|
# perf man pages (note: implicit rpm magic compresses them later)
|
||||||
make -C tools/perf -s V=1 DESTDIR=%{buildroot} HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} install-man
|
make -C tools/perf -s V=1 DESTDIR=%{buildroot} WERROR=0 HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} install-man
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{build_cpupower}
|
%if %{build_cpupower}
|
||||||
|
|
Loading…
Add table
Reference in a new issue