Skip to content

Commit

Permalink
Remove '-ffast-math' option.
Browse files Browse the repository at this point in the history
Remove GCC 8.x check in Matrix3x4.h
  • Loading branch information
alex-rass-88 authored and weitjong committed May 24, 2019
1 parent 2ac4f89 commit 9941b25
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CMake/Modules/UrhoCommon.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9941b25

Please sign in to comment.