Commit 1c75bde7 authored by ulrich_y's avatar ulrich_y

Added c++11 std for ginac

parent c6071a5f
......@@ -364,6 +364,7 @@ CONF_LD=${LD:-$CONF_FC}
if $HAVE_GINAC ; then
eval addflag CPPFLAGS "-std=c++11"
if findlib ginac GINAC && findlib cln CLN ; then
CONF_LD=${LD:-$CONF_CXX}
echo -n "Checking if GiNaC works... " 1>&3
......@@ -421,6 +422,7 @@ MPREP=$CONF_MPREP
FFLAGS=$CONF_FFLAGS
CFLAGS=$CONF_CFLAGS
CPPFLAGS=$CONF_CPPFLAGS
LFLAGS=$CONF_LFLAGS
MCFLAGS=$CONF_MCC_CFLAGS
MLFLAGS=$CONF_MCC_LFLAGS
......@@ -446,7 +448,7 @@ build/%.o: src/%.f90
build/%.o: src/%.cpp
@echo "C++ \$@"
@\$(CC) -c $< -o \$@
@\$(CC) \$(CPPFLAGS) -c $< -o \$@
EOF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment