[magics] 03/04: Set -std=c++11 so that unique_ptr compiles on both C++5 anf C++6

Alastair McKinstry mckinstry at moszumanska.debian.org
Tue Mar 22 17:34:24 UTC 2016


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

mckinstry pushed a commit to branch debian/master
in repository magics.

commit 3054db5fd09367b10577cae3cb85f1de3b125c26
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Tue Mar 22 15:45:16 2016 +0000

    Set -std=c++11 so that unique_ptr compiles on both C++5 anf C++6
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 8e58c48..90d9ad1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ BUILDDIR = $(CURDIR)/debian/build
 
 # To enable all, uncomment following line
 # DEB_BUILD_MAINT_OPTIONS:= hardening=+all,-pie
-CXXFLAGS:= -fPIC $(shell dpkg-buildflags --get CXXFLAGS)
+CXXFLAGS:= -fPIC $(shell dpkg-buildflags --get CXXFLAGS) -std=c++11
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 export QT_SELECT=5

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



More information about the debian-science-commits mailing list