From: Jan Vesely Date: Sun, 26 May 2019 16:26:44 +0000 (-0400) Subject: Revert "meson: fix build for arch:i686 , cc:gcc-7" X-Git-Tag: archive/raspbian/1%0.1.106-3+rpi1^2~15^2~11^2~112 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=52742f6c9a027b6e61b4bcf1190aae383637a479;p=babl.git 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. --- 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')