Revert "build: opt out of unsafe math optimizations in reference and base"
authorØyvind Kolås <pippin@gimp.org>
Sun, 12 Jan 2020 22:31:33 +0000 (23:31 +0100)
committerØyvind Kolås <pippin@gimp.org>
Sun, 12 Jan 2020 22:31:33 +0000 (23:31 +0100)
This reverts commit 84128d538aa4f189c31d296d04084762ce062107.
after having set global cflags opting out of unsafe math see issue #49.

babl/base/meson.build
babl/meson.build

index 06728def416e481ff1eada2661300c4245b49bb8..97ec38b23c6502d9123ee51d8e96ce608b2893cb 100644 (file)
@@ -16,12 +16,6 @@ babl_base_sources = [
   'type-u8.c',
 ]
 
-babl_base_c_args = [
-  sse2_cflags,
-  '-DLIBDIR="@0@"'.format(babl_libdir),
-  '-fno-unsafe-math-optimizations'
-]
-
 babl_base = static_library('babl_base',
   babl_base_sources,
   include_directories: [ rootInclude, bablInclude, ],
index a60beb8f1642bd9b00c36dd350fb5ca878465edf..542bb622a365cc40c561f1f4bc2d89f2fed1cdce 100644 (file)
@@ -27,7 +27,6 @@ version_script_target = custom_target(version_script,
 babl_c_args = [
   sse2_cflags,
   '-DLIBDIR="@0@"'.format(babl_libdir),
-  '-fno-unsafe-math-optimizations'
 ]
 
 # Linker arguments