fix(cmake/bazel/clang): remove finite-math-only opt from Ofast,
for keep same build between gcc and clang more detail: ``` printf("%d\n", std::isnan(std::numeric_limits<float>::quiet_NaN())); printf("%d\n", std::isnan(std::nan("1"))); ``` linux-clang and android-NDK clang have diff build logic with gcc and macos/windows clang/clangcl * clang++-12 -Ofast 1.cc output is: 0 0 * clang++-12 -Ofast 1.cc -fno-finite-math-only output is: 1 1 * g++ -Ofast 1.cc output is: 1 1 GitOrigin-RevId: f0622e2ca019b0072fd6798990a8aba156c8022f
Showing
想要评论请 注册 或 登录