forked from pool/cpupower
Accepting request 815512 from hardware
OBS-URL: https://build.opensuse.org/request/show/815512 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpupower?expand=0&rev=48
This commit is contained in:
commit
b804fceeca
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 17 12:17:02 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
|
||||||
|
|
||||||
|
- Add -fcommon to allow building against GCC10
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 19 09:21:48 UTC 2020 - Thomas Renninger <trenn@suse.de>
|
Tue May 19 09:21:48 UTC 2020 - Thomas Renninger <trenn@suse.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package cpupower
|
# spec file for package cpupower
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
# Author: Thomas Renninger <trenn@suse.de>
|
# Author: Thomas Renninger <trenn@suse.de>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -116,12 +116,12 @@ cp %{SOURCE5} Makefile
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
CONF="PACKAGE_BUGREPORT=https://bugs.opensuse.org mandir=%{_mandir} libdir=%{_libdir} CPUFRQ_BENCH=true VERSION=%{version}"
|
CONF="PACKAGE_BUGREPORT=https://bugs.opensuse.org mandir=%{_mandir} libdir=%{_libdir} CPUFRQ_BENCH=true VERSION=%{version}"
|
||||||
export CFLAGS="%{optflags} -I ."
|
export CFLAGS="%{optflags} -fcommon -I ."
|
||||||
make $CONF %{?_smp_mflags}
|
make $CONF %{?_smp_mflags}
|
||||||
|
|
||||||
%ifarch ix86 x86_64
|
%ifarch ix86 x86_64
|
||||||
cd ../turbostat-%{tsversion}
|
cd ../turbostat-%{tsversion}
|
||||||
export CFLAGS="%{optflags} -I ."
|
export CFLAGS="%{optflags} -fcommon -I ."
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
cd ../x86_energy_perf_policy-%{pbversion}
|
cd ../x86_energy_perf_policy-%{pbversion}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
Loading…
Reference in New Issue
Block a user