Accepting request 790124 from home:marxin:branches:hardware

- Add -fcommon in order to fix boo#1160415.

OBS-URL: https://build.opensuse.org/request/show/790124
OBS-URL: https://build.opensuse.org/package/show/hardware/sbl?expand=0&rev=33
This commit is contained in:
Tomáš Chvátal 2020-03-31 12:18:04 +00:00 committed by Git OBS Bridge
parent f60833c26d
commit 7518e083c3
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 31 11:58:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Add -fcommon in order to fix boo#1160415.
-------------------------------------------------------------------
Fri Mar 29 09:07:59 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package sbl
#
# 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
@ -68,8 +68,8 @@ this python module enables orca to use brld for braille output
%patch7 -p1
%build
make %{?_smp_mflags} CFLAGS="%{optflags} -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE" \
LIB_CFLAGS="%{optflags} -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -fPIC $(pkg-config speech-dispatcher --cflags)"
make %{?_smp_mflags} CFLAGS="%{optflags} -fcommon -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE" \
LIB_CFLAGS="%{optflags} -fcommon -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -fPIC $(pkg-config speech-dispatcher --cflags)"
%install
%make_install LIBINSTPATH=%{_libdir}