Skip to content

Commit bb627b9

Browse files
authored
DOC: Set CFLAGS rather than CXXFLAGS
This will produce warnings, but will compile.
1 parent 5cdedd3 commit bb627b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/devel/dependencies.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ C++ compiler
214214
Matplotlib requires a C++ compiler that supports C++11.
215215

216216
- `gcc 4.8.1 <https://gcc.gnu.org/projects/cxx-status.html#cxx11>`_ or higher. For gcc <6.5 you will
217-
need to set ``$CXXFLAGS=-std=c++11`` to enable C++11 support.
217+
need to set ``$CFLAGS=-std=c++11`` to enable C++11 support.
218218
- `clang 3.3 <https://clang.llvm.org/cxx_status.html>`_ or higher
219219
- `Visual Studio 2015
220220
<https://docs.microsoft.com/en-us/cpp/overview/visual-cpp-language-conformance?view=msvc-140>`_

0 commit comments

Comments
 (0)