!9 fix no fPIC error

Merge pull request !9 from sugarfillet/master
This commit is contained in:
openeuler-ci-bot 2020-03-24 00:42:06 +08:00 committed by Gitee
commit 638b879189

View File

@ -1,7 +1,7 @@
Summary: A dynamic adaptive IRQ balancing daemon
Name: irqbalance
Version: 1.4.0
Release: 17
Release: 18
Epoch: 3
License: GPLv2
@ -11,7 +11,7 @@ Source2: irqbalance.rules
Source3: irq_balancer
Url: https://github.com/irqbalance/irqbalance
BuildRequires: autoconf automake libtool libcap-ng systemd
BuildRequires: gdb autoconf automake libtool libcap-ng systemd
BuildRequires: glib2-devel pkgconf libcap-ng-devel ncurses-devel
Requires: ncurses-libs
@ -110,7 +110,7 @@ Shared librariy for irqbalanace client
%build
./autogen.sh
%configure
CFLAGS="%{optflags}" %make_build CFLAGS+='-fstack-protector-strong '
CFLAGS="%{optflags}" %make_build CFLAGS+='-fstack-protector-strong -fPIC'
cd ui
make
cd -
@ -164,6 +164,12 @@ fi
/sbin/chkconfig --del %{name} >/dev/null 2>&1 || :
%changelog
* Tue Mar 24 2020 Shuaishuai Song <songshuaishuai2@huawei.com> - 3:1.4.0-18
- Type:bugfix
- ID:NA
- SUG:restart
- DESC: fix no fPIC error
* Wed Mar 11 2020 yuxiangyang<yuxiangyang4@huawei.com> - 3:1.4.0-17
- Type:bugfix
- ID:NA