Bladeren bron

Remove '-ffast-math' option.
Remove GCC 8.x check in Matrix3x4.h

Alexey Rassikhin 7 jaren geleden
bovenliggende
commit
3c589a9271
1 gewijzigde bestanden met toevoegingen van 0 en 2 verwijderingen
  1. 0 2
      CMake/Modules/UrhoCommon.cmake

+ 0 - 2
CMake/Modules/UrhoCommon.cmake

@@ -628,8 +628,6 @@ else ()
                     set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=${URHO3D_DEPLOYMENT_TARGET}")
                 endif ()
             endif ()
-            set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ffast-math")
-            set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ffast-math")
             # We don't add these flags directly here for Xcode because we support Mach-O universal binary build
             # The compiler flags will be added later conditionally when the effective arch is i386 during build time (using XCODE_ATTRIBUTE target property)
             if (NOT XCODE)