From: Øyvind Kolås Date: Sun, 12 Jan 2020 22:47:08 +0000 (+0100) Subject: meson: globally opt out of unsafe math optimizations X-Git-Tag: archive/raspbian/1%0.1.106-3+rpi1^2~15^2~10^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2ff7d7a388c75d334b746eb385ad8afdfa3277da;p=babl.git 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. --- diff --git a/meson.build b/meson.build index 8c7d522..11ffdc9 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',