Accepting request 790112 from home:marxin:branches:shells

- Add -fcommon to %optflags in order to fix boo#1160260.

OBS-URL: https://build.opensuse.org/request/show/790112
OBS-URL: https://build.opensuse.org/package/show/shells/dash?expand=0&rev=26
This commit is contained in:
Dominique Leuenberger 2020-04-09 12:42:18 +00:00 committed by Git OBS Bridge
parent 2fe629b650
commit 88a167ad60
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 31 11:29:51 UTC 2020 - Martin Liška <mliska@suse.cz>
- Add -fcommon to %optflags in order to fix boo#1160260.
-------------------------------------------------------------------
Thu Oct 25 06:07:40 UTC 2018 - sean@suspend.net

View File

@ -1,7 +1,7 @@
#
# spec file for package dash
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2013 Guido Berhoerster.
#
# All modifications and additions to the file contributed by third parties
@ -23,7 +23,7 @@ Release: 0
Summary: POSIX-compliant Implementation of /bin/sh
License: BSD-3-Clause
Group: System/Shells
Url: http://gondor.apana.org.au/~herbert/dash/
URL: http://gondor.apana.org.au/~herbert/dash/
Source: http://gondor.apana.org.au/~herbert/dash/files/dash-%{version}.tar.gz
BuildRequires: libedit-devel
@ -35,11 +35,12 @@ possible without sacrificing speed where possible.
%setup -q
%build
%global optflags %{optflags} -fcommon
%configure \
--enable-fnmatch \
--enable-glob \
--with-libedit
make %{?_smp_mflags}
%make_build
%install
%make_install