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