[Mesa-dev] [PATCH] anv: fix building on i686 with -mcpu=generic

Jason Ekstrand jason at jlekstrand.net
Sun Apr 17 04:52:14 UTC 2016


Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
On Apr 16, 2016 12:50 PM, "Laurent Carlier" <lordheavym at gmail.com> wrote:

> mcpu=generic doesn't enable sse2, and anvil definitly needs it
> ---
>  src/intel/vulkan/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/intel/vulkan/Makefile.am b/src/intel/vulkan/Makefile.am
> index cba6671..a84be72 100644
> --- a/src/intel/vulkan/Makefile.am
> +++ b/src/intel/vulkan/Makefile.am
> @@ -67,7 +67,7 @@ AM_CPPFLAGS = \
>         -I$(top_builddir)/src/compiler/nir \
>         -I$(top_builddir)/src/intel
>
> -libvulkan_intel_la_CFLAGS = $(CFLAGS) -Wno-override-init
> +libvulkan_intel_la_CFLAGS = $(CFLAGS) -Wno-override-init -msse2
>
>  VULKAN_SOURCES =                                        \
>         anv_allocator.c                                 \
> --
> 2.8.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160416/8452b43d/attachment.html>


More information about the mesa-dev mailing list