Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
CMakeCompiler Options Silently change -O3 to -O2 #8923
On certain platforms,
This might have been important 5 years ago. s is still required?
Specifically, it prevents -O3 when building OpenCV with emscripten, which may significantly reduce the optimizations. It's possible to just check for
This is especially strange since
So if it's Clang it sets it also to be gcc!