Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
In release mode, Arrow C++ unconditionally adds -O2 at the end of the compiler flags.
So, if you do something like:
export CXXFLAGS=-O0 cmake ...
the final compilation flags will look like -O0 -O2, meaning the user-provided optimization level is ignored.
One can instead use the ARROW_CXXFLAGS CMake variable, but it only overrides the flags for Arrow itself, not the bundled dependencies.
Attachments
Issue Links
- links to