diff --git a/Mesa-drivers.changes b/Mesa-drivers.changes index 704bf46..f504d84 100644 --- a/Mesa-drivers.changes +++ b/Mesa-drivers.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Aug 8 08:52:15 UTC 2021 - Stefan Dirsch + +- fixed build on %ix86 by removing "-flto=auto" from optflags for + cpp + ------------------------------------------------------------------- Thu Aug 5 15:51:18 UTC 2021 - Stefan Dirsch diff --git a/Mesa-drivers.spec b/Mesa-drivers.spec index 5f5cd2b..a5be0ef 100644 --- a/Mesa-drivers.spec +++ b/Mesa-drivers.spec @@ -860,7 +860,11 @@ egl_platforms=x11,wayland %endif -Db_ndebug=true \ -Dc_args="%{optflags}" \ +%ifarch %ix86 + -Dcpp_args="$(echo %{optflags}|sed 's/-flto=auto//')" +%else -Dcpp_args="%{optflags}" +%endif %meson_build diff --git a/Mesa.changes b/Mesa.changes index 704bf46..f504d84 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Aug 8 08:52:15 UTC 2021 - Stefan Dirsch + +- fixed build on %ix86 by removing "-flto=auto" from optflags for + cpp + ------------------------------------------------------------------- Thu Aug 5 15:51:18 UTC 2021 - Stefan Dirsch diff --git a/Mesa.spec b/Mesa.spec index acbc075..7c2c975 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -859,7 +859,11 @@ egl_platforms=x11,wayland %endif -Db_ndebug=true \ -Dc_args="%{optflags}" \ +%ifarch %ix86 + -Dcpp_args="$(echo %{optflags}|sed 's/-flto=auto//')" +%else -Dcpp_args="%{optflags}" +%endif %meson_build