anv: fix building on i686 with -mcpu=generic
authorLaurent Carlier <lordheavym@gmail.com>
Sat, 16 Apr 2016 19:50:39 +0000 (21:50 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 20 Apr 2016 17:48:11 +0000 (10:48 -0700)
mcpu=generic doesn't enable sse2, and anvil definitly needs it

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/Makefile.am

index cba66713948a0dcdd5882a533b560b2cb90b0735..a84be7295489e914293e02c9e33e587da5dfd888 100644 (file)
@@ -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                                 \