[babl] meson: globally opt out of unsafe math optimizations



commit 2ff7d7a388c75d334b746eb385ad8afdfa3277da
Author: Øyvind Kolås <pippin gimp org>
Date:   Sun Jan 12 23:47:08 2020 +0100

    meson: globally opt out of unsafe math optimizations
    
    Thus closing issue #49, with a decision to opt for fully predictable
    math, and increasing the ability to extend the use of hashes in result
    image tests in GEGL.

 meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/meson.build b/meson.build
index 8c7d5222f..11ffdc91e 100644
--- a/meson.build
+++ b/meson.build
@@ -159,6 +159,7 @@ common_c_flags = []
 if buildtype == 'debugoptimized' or buildtype == 'release'
   common_c_flags += cc.get_supported_arguments(['-Ofast'])
 endif
+common_c_flags += cc.get_supported_arguments(['-fno-unsafe-math-optimizations'])
 
 extra_warnings_list = [
   '-Wdeclaration-after-statement',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]