diff --git a/doc/source/development/debugging_extensions.rst b/doc/source/development/debugging_extensions.rst index 0ea1c112cb55b..59a6b9426ff8b 100644 --- a/doc/source/development/debugging_extensions.rst +++ b/doc/source/development/debugging_extensions.rst @@ -23,7 +23,7 @@ By default building pandas from source will generate a release build. To generat .. note:: - conda environments update CFLAGS/CPPFLAGS with flags that are geared towards generating releases. If using conda, you may need to set ``CFLAGS="$CFLAGS -O0"`` and ``CPPFLAGS="$CPPFLAGS -O0"`` to ensure optimizations are turned off for debugging + conda environments update CFLAGS/CPPFLAGS/CXXFLAGS with flags that are geared towards generating releases. If using conda, you may need to set ``CFLAGS="$CFLAGS -O0"``, ``CPPFLAGS="$CPPFLAGS -O0 -U_FORTIFY_SOURCE"`` and ``CXXFLAGS="$CXXFLAGS -O0"`` to ensure optimizations are turned off for debugging By specifying ``builddir="debug"`` all of the targets will be built and placed in the debug directory relative to the project root. This helps to keep your debug and release artifacts separate; you are of course able to choose a different directory name or omit altogether if you do not care to separate build types.