Accepting request 812179 from home:plater:lilypond

- Fix build against gcc10 with -fcommon flag.

OBS-URL: https://build.opensuse.org/request/show/812179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/guile1?expand=0&rev=37
This commit is contained in:
2020-06-07 07:20:58 +00:00
committed by Git OBS Bridge
parent 59518ab3b8
commit 388420686a
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jun 7 07:16:07 UTC 2020 - Dave Plater <davejplater@gmail.com>
- Fix build against gcc10 with -fcommon flag.
-------------------------------------------------------------------
Sat Nov 23 12:19:17 UTC 2019 - Dave Plater <davejplater@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package guile1
#
# Copyright (c) 2019 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
@@ -23,7 +23,7 @@ Release: 0
Summary: GNU's Ubiquitous Intelligent Language for Extension
License: LGPL-2.1-or-later
Group: Development/Languages/Scheme
Url: https://www.gnu.org/software/guile/
URL: https://www.gnu.org/software/guile/
Source0: https://ftp.gnu.org/gnu/guile/guile-%{version}.tar.gz
Source1: https://ftp.gnu.org/gnu/guile/guile-%{version}.tar.gz.sig
Source2: %{name}.keyring
@@ -169,6 +169,7 @@ sed -i s/-Werror// configure.in configure
%build
%define _lto_cflags %{nil}
export CFLAGS="%{optflags} -fcommon"
sed -i "s:GUILE_:GUILE1_:" guile-config/guile.m4
sed -i "s:guile:guile1:" guile-config/guile.m4
# automake 1.13: do not run test simultaneously