[Pkg-owncloud-commits] [owncloud-client] 04/05: Build with -std=gnu11 to avoid compile errors

Gaudenz Steinlin gaudenz at moszumanska.debian.org
Mon Nov 9 11:06:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

gaudenz pushed a commit to branch jessie-backports
in repository owncloud-client.

commit 9c68f284dc2d9485f5dee16d5442e48058d0cc24
Author: Gaudenz Steinlin <gaudenz at debian.org>
Date:   Sun Nov 8 23:13:59 2015 +0100

    Build with -std=gnu11 to avoid compile errors
    
    GCC version 4.9 available in jessie defaults to std=gnu90 while the
    version 5.2 currently in testing defaults to std=gnu11. The backport is
    now built with std=gnu11 to support the same language features.
---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 519720e..5b61a6b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+export DEB_CFLAGS_MAINT_APPEND = -std=gnu11
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/default.mk
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list