diff options
author | Tim Rowley <[email protected]> | 2016-04-14 18:23:33 -0500 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2016-04-15 14:43:01 -0500 |
commit | 082f6d75aef4e672b6e41ee77630d3add7e1ef5d (patch) | |
tree | 39e1b19634ae7ad098c01e95cdd3fa9029270da7 /src/gallium/drivers | |
parent | ee72fec9cfaddfef78a112f0b8d2f3f7f67a6535 (diff) |
gallium/swr: confine c++11 flag to swr driver
On the philosophy that a driver shouldn't change the compile flags
for the entire tree, take the clove approach of moving the c++11 flag
to the swr driver directory.
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/swr/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/swr/Makefile.am b/src/gallium/drivers/swr/Makefile.am index d6d6e7dc611..b1ff4233b56 100644 --- a/src/gallium/drivers/swr/Makefile.am +++ b/src/gallium/drivers/swr/Makefile.am @@ -22,7 +22,7 @@ include Makefile.sources include $(top_srcdir)/src/gallium/Automake.inc -AM_CXXFLAGS = $(GALLIUM_DRIVER_CFLAGS) +AM_CXXFLAGS = $(GALLIUM_DRIVER_CFLAGS) -std=c++11 noinst_LTLIBRARIES = libmesaswr.la @@ -30,7 +30,8 @@ libmesaswr_la_SOURCES = $(LOADER_SOURCES) COMMON_CXXFLAGS = \ $(GALLIUM_DRIVER_CFLAGS) \ - $(LLVM_CFLAGS) \ + $(LLVM_CXXFLAGS) \ + -std=c++11 \ -I$(builddir)/rasterizer/scripts \ -I$(builddir)/rasterizer/jitter \ -I$(srcdir)/rasterizer \ |