I would escape adding any such options, which can
influence mathematical calculations,  until
we find, where is the problem and how much
people are affected and on which OSs.

Anton


2015-04-30 19:08 GMT+02:00 Janek Kozicki <[email protected]>:
> @@ -65,9 +65,9 @@ IF ("${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1}" 
> MATCHES ".*clang")
>  ELSE()
>    IF (GCC_VERSION VERSION_GREATER 4.9 OR GCC_VERSION VERSION_EQUAL 4.9)
>      MESSAGE(STATUS "GCC Version >= 4.9. Adding -fstack-protector-strong")
> -    ADD_DEFINITIONS("-fstack-protector-strong")
> +    ADD_DEFINITIONS("-fstack-protector-strong -frounding-math")
>    ELSE()
> -    ADD_DEFINITIONS("-fstack-protector")
> +    ADD_DEFINITIONS("-fstack-protector -frounding-math")
>    ENDIF()
>  ENDIF()

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to