Accepting request 287288 from Base:System

- Build with -std=gnu89 to deal with GCC 5 defaulting to -std=gnu11 (forwarded request 287287 from rguenther)

OBS-URL: https://build.opensuse.org/request/show/287288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sysvinit?expand=0&rev=160
This commit is contained in:
Dominique Leuenberger 2015-02-27 10:04:22 +00:00 committed by Git OBS Bridge
commit 8a618db9b8
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