[pypy-commit] pypy cppyy-dev: use cling-config to get the cpp flags

wlav pypy.commits at gmail.com
Thu Nov 7 18:56:14 EST 2019


Author: Wim Lavrijsen <WLavrijsen at lbl.gov>
Branch: cppyy-dev
Changeset: r97984:8d5616349f10
Date: 2019-11-06 19:06 -0800
http://bitbucket.org/pypy/pypy/changeset/8d5616349f10/

Log:	use cling-config to get the cpp flags

diff --git a/pypy/module/_cppyy/test/Makefile b/pypy/module/_cppyy/test/Makefile
--- a/pypy/module/_cppyy/test/Makefile
+++ b/pypy/module/_cppyy/test/Makefile
@@ -15,7 +15,7 @@
 
 HASGENREFLEX:=$(shell command -v genreflex 2> /dev/null)
 
-cppflags=-std=c++14 -O3 -fPIC -rdynamic
+cppflags=$(shell cling-config --cppflags) -O3 -fPIC -rdynamic
 ifdef HASGENREFLEX
   genreflex_flags:=$(shell genreflex --cppflags)
   cppflags+=$(genreflex_flags)


More information about the pypy-commit mailing list