summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/Makefile.am
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2016-08-02 13:18:08 -0500
committerTim Rowley <[email protected]>2016-08-02 14:30:33 -0500
commit11072de3681dcc8b3ebd01d7f1f1f9305f5e0eed (patch)
tree1f7caabe199e29c4131f7663c6c580737cc7955f /src/gallium/drivers/swr/Makefile.am
parent3356ac208b4bb221de455125906ab5bfe6c303db (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/Makefile.am')
-rw-r--r--src/gallium/drivers/swr/Makefile.am1
1 files changed, 1 insertions, 0 deletions
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) \