[babl] Revert "meson: fix build for arch:i686 , cc:gcc-7"



commit 52742f6c9a027b6e61b4bcf1190aae383637a479
Author: Jan Vesely <jano vesely gmail com>
Date:   Sun May 26 12:26:44 2019 -0400

    Revert "meson: fix build for arch:i686 , cc:gcc-7"
    
    This reverts commit 80347ef5b8706ddc0a2854dd5ff545b2d66ede4a.
    Adding -march=native is a bad idea as it breaks invalidates individual
    extension switches (sse, ...)
    Issue #29 was fixed in e75a27b5346f4c8480180479b7524b1b20ed8321.

 meson.build | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 38fb165..0561f15 100644
--- a/meson.build
+++ b/meson.build
@@ -207,7 +207,6 @@ if cc.has_argument('-mmmx') and get_option('enable-mmx')
             sse2_cflags = '-msse2'
             conf.set('USE_SSE2', 1, description:
               'Define to 1 if sse2 assembly is available.')
-            add_project_arguments('-march=native', language : 'c')
 
             # sse4.1 assembly
             if cc.has_argument('-msse4.1') and get_option('enable-sse4_1')


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