Dominique Leuenberger 2020-05-01 09:07:29 +00:00 committed by Git OBS Bridge
commit 2c00338dbe
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 27 19:33:25 UTC 2020 - Martin Liška <mliska@suse.cz>
- Enable -fcommon in CFLAGS and CXXFLAGS in order
to fix boo#1160383.
-------------------------------------------------------------------
Thu Feb 6 08:19:10 UTC 2020 - trenn@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package acpica
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -68,6 +68,9 @@ cd acpidump-%{dmp_ver}
(cd %{_prefix}/src/linux ; tar -cf - COPYING CREDITS README tools include scripts Kbuild Makefile drivers/acpi lib) | tar -xf -
%build
%global optflags %{optflags} -fcommon
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
cc %{SOURCE1} %{optflags} -o ec_access
make %{?_smp_mflags} -C acpi_genl CFLAGS="%{optflags}"
make %{?_smp_mflags} -C wmidump CFLAGS="%{optflags}"