Accepting request 287287 from home:rguenther:branches:Base:System

- Build with -std=gnu89 to deal with GCC 5 defaulting to -std=gnu11

OBS-URL: https://build.opensuse.org/request/show/287287
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysvinit?expand=0&rev=210
This commit is contained in:
Richard Biener 2015-02-23 09:32:04 +00:00 committed by Git OBS Bridge
parent 5cc16167ac
commit 47cba579ca
3 changed files with 8 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#
# spec file for package powerd
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 23 09:30:00 UTC 2015 - rguenther@suse.com
- Build with -std=gnu89 to deal with GCC 5 defaulting to -std=gnu11
-------------------------------------------------------------------
Mon Sep 8 10:31:48 UTC 2014 - werner@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package sysvinit
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -171,7 +171,7 @@ popd
/bin/chmod -Rf a+rX,g-w,o-w .
%build
RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -D_FILE_OFFSET_BITS=64 -pipe"
RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -std=gnu89 -D_FILE_OFFSET_BITS=64 -pipe"
CC=%__cc
export RPM_OPT_FLAGS CC
make %{?_smp_mflags} WITH_SELINUX=yes DISTRO=SuSE