Mesa (master): anv: fix building on i686 with -mcpu=generic
Jason Ekstrand
jekstrand at kemper.freedesktop.org
Wed Apr 20 18:14:06 UTC 2016
Module: Mesa
Branch: master
Commit: 6c952d8ac7fd57d32170492adaca9c135edd8936
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c952d8ac7fd57d32170492adaca9c135edd8936
Author: Laurent Carlier <lordheavym at gmail.com>
Date: Sat Apr 16 21:50:39 2016 +0200
anv: fix building on i686 with -mcpu=generic
mcpu=generic doesn't enable sse2, and anvil definitly needs it
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
---
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 \
More information about the mesa-commit
mailing list