From f3e75a5f85ae3f3668ba2faf60427fd5ab90ddd9 Mon Sep 17 00:00:00 2001 From: syyhao Date: Sat, 29 Feb 2020 18:42:56 +0800 Subject: [PATCH] Fix warning exception caused by compilation options --- prefetch_tuning.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/prefetch_tuning.spec b/prefetch_tuning.spec index aa8896a..7147980 100644 --- a/prefetch_tuning.spec +++ b/prefetch_tuning.spec @@ -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 @@ -19,7 +19,8 @@ Users can user this module to control CPU prefetch settings. %global debug_package %{nil} %prep -%setup -n %{kmod_name}-%{version} +%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 - 1.0-2 +- Fix warning exception caused by compilation options + * Mon Nov 4 2019 openEuler Buildteam - 1.0-1 - Package init