-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
cmakeBuild system in general and CMake in particularBuild system in general and CMake in particularlibc
Description
Forking the discussion from here (cc @jyknight ). I don't think we should be hard coding -O3 throughout our cmake build files. Not only is it tedious, but it's very likely we will have customers that would prefer a binary sized optimized build (-Os). Instead, I think the widely understood CMAKE_BUILD_TYPE should be used to key off whether we should be building with -O2 vs -Os. If we need -O3, I think it would be good to understand where+why.
hiradityaAndarwinux
Metadata
Metadata
Assignees
Labels
cmakeBuild system in general and CMake in particularBuild system in general and CMake in particularlibc