From 45405ee6b25d2791c6617e6ff6c5f689d9345b7f Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Fri, 14 Aug 2015 22:28:33 -0500 Subject: [PATCH] Make -std build argument the problem of setup.py --- cffi_build.py.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cffi_build.py.in b/cffi_build.py.in index 5bd1ecbf..f37a9cef 100644 --- a/cffi_build.py.in +++ b/cffi_build.py.in @@ -78,8 +78,7 @@ ffi.set_source("pyopencl._cffi", {CL_INC_DIR} + ["src/c_wrapper/"]), library_dirs={CL_LIB_DIR}, libraries={CL_LIBNAME}, - extra_compile_args=( - ['-std=c++0x'] + {CXXFLAGS}), + extra_compile_args=( + {CXXFLAGS}), extra_link_args={LDFLAGS}, source_extension=".cpp", sources=[ -- GitLab