Accepting request 312618 from home:elvigia:branches:server:mail

- Force GnU inline semantics, fix build with GCC5
- Do not use fstack-protector-all, but the builsystem default.

OBS-URL: https://build.opensuse.org/request/show/312618
OBS-URL: https://build.opensuse.org/package/show/server:mail/abook?expand=0&rev=8
This commit is contained in:
Wolfgang Rosenauer 2015-06-19 06:06:44 +00:00 committed by Git OBS Bridge
parent 59f608a70c
commit b0f99bd573
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 18 21:16:15 UTC 2015 - crrodriguez@opensuse.org
- Force GnU inline semantics, fix build with GCC5
- Do not use fstack-protector-all, but the builsystem default.
-------------------------------------------------------------------
Fri Dec 9 14:23:24 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package abook
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: abook
BuildRequires: gettext
BuildRequires: ncurses-devel
@ -39,8 +40,9 @@ use with mutt mail client.
%patch0 -p1
%build
export CFLAGS="%{optflags} -fgnu89-inline"
%configure
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fstack-protector-all" %{?_smp_mflags}
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
%install
%makeinstall