[Mesa-dev] [PATCH v2] clover: compile all sources with c++11

Tom Stellard tom at stellard.net
Wed Apr 29 06:53:40 PDT 2015


I've pushed this patch, thanks!

-Tom

On Tue, Apr 21, 2015 at 03:49:09PM +0200, EdB wrote:
> Later we can remove the compat code
> 
> According to Francisco Jerez, it happen that some time llvm requiring exotic
> compilation flags and it would be preferable not to to contaminate the rest of
> the clover build and keep the 3 statics libs
> ---
>  src/gallium/state_trackers/clover/Makefile.am | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/src/gallium/state_trackers/clover/Makefile.am b/src/gallium/state_trackers/clover/Makefile.am
> index 62c13fa..f46d9ef 100644
> --- a/src/gallium/state_trackers/clover/Makefile.am
> +++ b/src/gallium/state_trackers/clover/Makefile.am
> @@ -35,12 +35,13 @@ endif
>  noinst_LTLIBRARIES = libclover.la libcltgsi.la libclllvm.la
>  
>  libcltgsi_la_CXXFLAGS = \
> -	-std=c++0x \
> +	-std=c++11 \
>  	$(VISIBILITY_CXXFLAGS)
>  
>  libcltgsi_la_SOURCES = $(TGSI_SOURCES)
>  
>  libclllvm_la_CXXFLAGS = \
> +	-std=c++11 \
>  	$(VISIBILITY_CXXFLAGS) \
>  	$(LLVM_CXXFLAGS) \
>  	$(DEFINES) \
> -- 
> 2.4.0.rc2
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list