Mercurial > mxe-octave
changeset 6070:8d1aecf2d2d6
of-sparsersb: Don't force -std=gnu++11. We prefer a newer standard now.
* src/of-sparsersb-2-no-cxx11.patch: Add new patch.
* dist-files.mk: Include new patch.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Wed, 26 Jan 2022 19:14:36 +0100 |
parents | 0bf2a154ef3e |
children | c319371801a1 |
files | dist-files.mk src/of-sparsersb-2-no-cxx11.patch |
diffstat | 2 files changed, 23 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dist-files.mk Wed Jan 26 19:07:00 2022 +0100 +++ b/dist-files.mk Wed Jan 26 19:14:36 2022 +0100 @@ -539,6 +539,7 @@ of-signal.mk \ of-sockets.mk \ of-sparsersb-1-no-internal-mex-fcns.patch \ + of-sparsersb-2-no-cxx11.patch \ of-sparsersb.mk \ of-specfun-1-deprecated.patch \ of-specfun.mk \
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/of-sparsersb-2-no-cxx11.patch Wed Jan 26 19:14:36 2022 +0100 @@ -0,0 +1,22 @@ +# HG changeset patch +# User Markus Mützel <markus.muetzel@gmx.de> +# Date 1643220705 -3600 +# Wed Jan 26 19:11:45 2022 +0100 +# Node ID 47e601506819386cc03e9e412c0615cbac02aa8f +# Parent 67a14d968d2db3ffe34474e6be1c7a2d164ad416 +Don't force std=gnu++11. We prefer a newer standard now. +Ideally, this would check if some switch is necessary to enable C++11 feature +support in the compiler. + +diff -r 67a14d968d2d -r 47e601506819 src/configure.ac +--- a/src/configure.ac Tue Sep 21 11:09:59 2021 +0200 ++++ b/src/configure.ac Wed Jan 26 19:11:45 2022 +0100 +@@ -225,7 +225,7 @@ + AC_SUBST(OCTAVE) + AC_SUBST(TARGETS) + AC_SUBST(SPARSERSB_CXXFLAGS) +-AC_SUBST(SPARSERSB_CXX11, ["-std=gnu++11"]) ++AC_SUBST(SPARSERSB_CXX11) + AC_SUBST(SPARSERSB_LDFLAGS) + + AC_CONFIG_FILES([Makeconf])