Skip to content

Commit 95eecf0

Browse files
author
Release Manager
committed
gh-39919: lidia: support modern compilers that default to C++17 <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes #12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes #12345". --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [ ] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - #12345: short description why this is a dependency --> <!-- - #34567: ... --> cc @tobiasdiez URL: #39919 Reported by: Isuru Fernando Reviewer(s): Dima Pasechnik
2 parents 22dc98b + cd41829 commit 95eecf0

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)