Accepting request 789576 from home:kstreitova:branches:Archiving

- starting with GCC 10, the default of '-fcommon' option will
  change to '-fno-common'. Because dump build fails with 
  'fno-common', add '-fcommon' option to optflags as a temporary
  workaround for this problem till it's properly fixed [bsc#1160263]

OBS-URL: https://build.opensuse.org/request/show/789576
OBS-URL: https://build.opensuse.org/package/show/Archiving/dump?expand=0&rev=24
This commit is contained in:
Martin Pluskal 2020-03-30 17:42:24 +00:00 committed by Git OBS Bridge
parent 540b015269
commit ac70c346b5
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun Mar 29 21:05:53 UTC 2020 - Kristyna Streitova <kstreitova@suse.com>
- starting with GCC 10, the default of '-fcommon' option will
change to '-fno-common'. Because dump build fails with
'fno-common', add '-fcommon' option to optflags as a temporary
workaround for this problem till it's properly fixed [bsc#1160263]
-------------------------------------------------------------------
Thu Jun 15 12:33:17 UTC 2017 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package dump
#
# Copyright (c) 2017 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
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -22,7 +22,7 @@ Release: 0
Summary: Programs for backing up and restoring ext2/3/4 filesystems
License: BSD-3-Clause
Group: Productivity/Archiving/Backup
Url: http://dump.sourceforge.net
URL: http://dump.sourceforge.net
Source0: http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.gz
Source1: ermt.1.in
# PATCH-FIX-SUSE dump-0.4b46-pathnames.patch svalx@svalx.net -- pathnames and
@ -83,6 +83,7 @@ cp %{SOURCE1} rmt/
%build
autoreconf -fiv
export CFLAGS="%{optflags} -fcommon"
%configure \
--disable-silent-rules \
--enable-sqlite \