[metview] 08/15: Specify -std=c++11 so unique_ptr works on both GCC5, 6

Alastair McKinstry mckinstry at moszumanska.debian.org
Mon Jun 20 07:51:50 UTC 2016


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

mckinstry pushed a commit to tag debian/4.6.5-3
in repository metview.

commit 98fdf6879a2ae78283f14683c01b81d1a6f5b9ca
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Tue Mar 22 18:37:07 2016 +0000

    Specify -std=c++11 so unique_ptr works on both GCC5, 6
---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 3e6546e..15c06f0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,7 @@ DEB_BUILD_MAINT_OPTIONS:= hardening=+all,-format
 DEB_CFLAGS_MAINT_APPEND:= -Wall -pedantic -fPIC
 export DEB_BUILD_MAINT_OPTIONS DEB_CFLAGS_MAINT_APPEND DEB_LDFLAGS_MAINT_PREPEND
 export QT_SELECT=5
+CXXFLAGS:= $(shell dpkg-buildflags --get CXXFLAGS) -std=c++11
 
 # Needed for sbuild. metview creates temp directories during build
 export HOME:=/tmp

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/metview.git



More information about the debian-science-commits mailing list