[khronos-opencl-headers] 06/08: cl2.hpp requires -std=c++11 for compilation

Andreas Beckmann anbe at moszumanska.debian.org
Mon Sep 21 13:18:15 UTC 2015


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

anbe pushed a commit to branch master
in repository khronos-opencl-headers.

commit 5b8ec30d6bb7f9be7147355523c1d7dbfcc8d87c
Author: Andreas Beckmann <anbe at debian.org>
Date:   Mon Sep 21 14:44:53 2015 +0200

    cl2.hpp requires -std=c++11 for compilation
---
 debian/t/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/t/Makefile b/debian/t/Makefile
index 2659fc1..f4d1260 100644
--- a/debian/t/Makefile
+++ b/debian/t/Makefile
@@ -2,7 +2,7 @@ ifneq (,$(filter $(DEB_HOST_ARCH),i386 amd64))
 ARCHFLAGS	+= -msse2 -msse
 endif
 CFLAGS		+= -I. $(OPENCLFLAGS) $(ARCHFLAGS)
-CXXFLAGS	+= -I. $(OPENCLFLAGS) $(ARCHFLAGS)
+CXXFLAGS	+= -std=c++11 -I. $(OPENCLFLAGS) $(ARCHFLAGS)
 
 check:
 	$(MAKE) compile_opencl_h

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/khronos-opencl-headers.git



More information about the Pkg-opencl-commits mailing list