Fix warning exception caused by compilation options

This commit is contained in:
syyhao 2020-02-29 18:42:56 +08:00 committed by Gitee
parent 086d34abb9
commit f3e75a5f85

View File

@ -3,7 +3,7 @@
Name : prefetch_tuning
Summary : CPU prefetch tuning module for Kunpeng 920
Version : 1.0
Release : 1
Release : 2
License : GPLv2
Source0 : %{kmod_name}-%{version}.tar.gz
buildroot : %{_tmppath}/%{kmod_name}-%{version}-build
@ -20,6 +20,7 @@ Users can user this module to control CPU prefetch settings.
%prep
%setup -n %{kmod_name}-%{version}
sed -i 's/EXTRA_CFLAGS += -Wall -Werror/EXTRA_CFLAGS += -Wall/g' Makefile
%build
%make_build
@ -46,5 +47,8 @@ depmod -a `uname -r`
%preun
%changelog
* Sat Feb 29 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.0-2
- Fix warning exception caused by compilation options
* Mon Nov 4 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0-1
- Package init