Mercurial > mxe-octave
comparison src/of-ltfat-3-no-cxx11.patch @ 6069:0bf2a154ef3e
of-ltfat: Don't force -std=gnu++11. We prefer a newer standard now.
* src/of-ltfat-3-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:07:00 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
6068:b916a190b939 | 6069:0bf2a154ef3e |
---|---|
1 From 0b0d59759fd3ef0f3c631047f85a2b87c687d272 Mon Sep 17 00:00:00 2001 | |
2 From: =?UTF-8?q?Markus=20M=C3=BCtzel?= <markus.muetzel@gmx.de> | |
3 Date: Wed, 26 Jan 2022 18:58:46 +0100 | |
4 Subject: [PATCH] Don't force std=gnu++11. We prefer a newer standard now. | |
5 Ideally, this would check if some switch is necessary to enable C++11 feature | |
6 support in the compiler. | |
7 | |
8 --- | |
9 oct/Makefile_unix | 2 +- | |
10 1 file changed, 1 insertion(+), 1 deletion(-) | |
11 | |
12 diff --git a/oct/Makefile_unix b/oct/Makefile_unix | |
13 index 8f497297..4ecad22a 100644 | |
14 --- a/oct/Makefile_unix | |
15 +++ b/oct/Makefile_unix | |
16 @@ -33,7 +33,7 @@ ifndef FFTW_LIBS | |
17 FFTW_LIBS := $(shell $(MKOCTFILE) -p FFTW_LIBS) | |
18 endif | |
19 | |
20 -export CXXFLAGS := $(shell $(MKOCTFILE) -p CXXFLAGS) -std=gnu++11 -Wall -DLTFAT_LARGEARRAYS $(OPTCXXFLAGS) | |
21 +export CXXFLAGS := $(shell $(MKOCTFILE) -p CXXFLAGS) -Wall -DLTFAT_LARGEARRAYS $(OPTCXXFLAGS) | |
22 # export is necessary, otherwise LDFLAGS won't have any effect | |
23 # at least on Windows and on Mac | |
24 export LDFLAGS := $(shell $(MKOCTFILE) -p LDFLAGS) $(FLIBS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FFTW_LIBS) | |
25 -- | |
26 2.34.1.windows.1 | |
27 |