swr: build swr with -fno-strict-aliasing
authorTim Rowley <timothy.o.rowley@intel.com>
Tue, 2 Aug 2016 18:18:08 +0000 (13:18 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Tue, 2 Aug 2016 19:30:33 +0000 (14:30 -0500)
swr rasterizer contains numerous data transfers between vectors
and ordinary C types.  Fixing for strict aliasing will take time.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/gallium/drivers/swr/Makefile.am

index 3459af3..33664d6 100644 (file)
@@ -29,6 +29,7 @@ noinst_LTLIBRARIES = libmesaswr.la
 libmesaswr_la_SOURCES = $(LOADER_SOURCES)
 
 COMMON_CXXFLAGS = \
+       -fno-strict-aliasing \
        $(GALLIUM_DRIVER_CFLAGS) \
        $(LLVM_CXXFLAGS) \
        $(SWR_CXX11_CXXFLAGS) \