forked from pool/cpupower
Accepting request 815504 from home:polslinux:branches:hardware
- Add -fcommon to allow building against GCC10 OBS-URL: https://build.opensuse.org/request/show/815504 OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=110
This commit is contained in:
parent
3ba4e6a621
commit
079389a90b
@ -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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package cpupower
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Author: Thomas Renninger <trenn@suse.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -116,12 +116,12 @@ cp %{SOURCE5} Makefile
|
||||
|
||||
%build
|
||||
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}
|
||||
|
||||
%ifarch ix86 x86_64
|
||||
cd ../turbostat-%{tsversion}
|
||||
export CFLAGS="%{optflags} -I ."
|
||||
export CFLAGS="%{optflags} -fcommon -I ."
|
||||
make %{?_smp_mflags}
|
||||
cd ../x86_energy_perf_policy-%{pbversion}
|
||||
make %{?_smp_mflags}
|
||||
|
Loading…
Reference in New Issue
Block a user