[Mesa-dev] [PATCH 2/2] kms-swrast: defines missing to build kms-swrast

Emil Velikov emil.l.velikov at gmail.com
Wed Aug 20 07:53:03 PDT 2014


I have pushed a similar patch (commit 16873a6e62e) a couple of days before
your post. Afaics it should already cover this case ?

-Emil

On 15/08/14 22:32, Andreas Pokorny wrote:
> ---
>  src/gallium/state_trackers/dri/Makefile.am | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/src/gallium/state_trackers/dri/Makefile.am b/src/gallium/state_trackers/dri/Makefile.am
> index bda75c3..bcbd081 100644
> --- a/src/gallium/state_trackers/dri/Makefile.am
> +++ b/src/gallium/state_trackers/dri/Makefile.am
> @@ -26,6 +26,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
>  
>  AM_CPPFLAGS = \
>  	$(GALLIUM_PIPE_LOADER_DEFINES) \
> +	-DDRI_TARGET \
>  	-DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\" \
>  	-I$(top_srcdir)/include \
>  	-I$(top_srcdir)/src/mapi \
> @@ -37,6 +38,10 @@ AM_CPPFLAGS = \
>  	$(LIBDRM_CFLAGS) \
>  	$(VISIBILITY_CFLAGS)
>  
> +if HAVE_GALLIUM_SOFTPIPE
> +AM_CPPFLAGS += \
> +	-DGALLIUM_SOFTPIPE
> +endif
>  if HAVE_GALLIUM_STATIC_TARGETS
>  AM_CPPFLAGS += \
>  	-DGALLIUM_STATIC_TARGETS=1
> 



More information about the mesa-dev mailing list