Skip to content

Commit

Permalink
cmake: drop the -ffloat-store handling
Browse files Browse the repository at this point in the history
I can't reproduce the issues that this setting was originally fixing when
introduced.
  • Loading branch information
axxel committed Feb 7, 2024
1 parent e01f2d4 commit bf463a2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bf463a2

Please sign in to comment.