From bf463a26889977c9dc936b461f39ca286cee6af0 Mon Sep 17 00:00:00 2001 From: axxel Date: Wed, 7 Feb 2024 01:00:11 +0100 Subject: [PATCH] cmake: drop the `-ffloat-store` handling I can't reproduce the issues that this setting was originally fixing when introduced. --- core/CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index d63d9ecc63..bc74850f2c 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -460,13 +460,6 @@ target_compile_options (ZXing include (CheckCXXCompilerFlag) -CHECK_CXX_COMPILER_FLAG ("-ffloat-store" COMPILER_NEEDS_FLOAT_STORE) -if (COMPILER_NEEDS_FLOAT_STORE) - target_compile_options(ZXing PRIVATE - -ffloat-store # same floating point precision in all optimization levels - ) -endif() - target_compile_features(ZXing PUBLIC cxx_std_17) target_link_libraries (ZXing PRIVATE Threads::Threads)