From: Tim Rowley Date: Tue, 2 Aug 2016 18:18:08 +0000 (-0500) Subject: swr: build swr with -fno-strict-aliasing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11072de3681dcc8b3ebd01d7f1f1f9305f5e0eed;p=mesa.git swr: build swr with -fno-strict-aliasing swr rasterizer contains numerous data transfers between vectors and ordinary C types. Fixing for strict aliasing will take time. Reviewed-by: Matt Turner --- diff --git a/src/gallium/drivers/swr/Makefile.am b/src/gallium/drivers/swr/Makefile.am index 3459af3de96..33664d6b8dd 100644 --- a/src/gallium/drivers/swr/Makefile.am +++ b/src/gallium/drivers/swr/Makefile.am @@ -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) \