Skip to content

Commit cd41829

Browse files
committed
lidia: support modern compilers that default to C++17
1 parent 871ba9d commit cd41829

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/pkgs/lidia/spkg-install.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ if [ -n "$SAGE_GMP_PREFIX" ]; then
44
GMP_CONFIGURE="--with-extra-includes=$SAGE_GMP_PREFIX/include --with-extra-libs=$SAGE_GMP_PREFIX/lib"
55
fi
66

7+
# Need std::auto_ptr removed in C++17
8+
export CXXFLAGS="$CXXFLAGS -std=c++11"
9+
710
sdh_configure --with-arithmetic=gmp \
811
$GMP_CONFIGURE \
912
--enable-shared=yes --enable-static=no

0 commit comments

Comments
 (0)