[PATCHv2] makekeys: Fix build/target word size mismatch when cross-compiling

Guillem Jover guillem at hadrons.org
Thu Oct 13 19:57:57 PDT 2011


On Thu, 2011-09-22 at 18:44:13 -0400, Derek Buitenhuis wrote:
> diff --git a/src/util/Makefile.am b/src/util/Makefile.am
> index 3b100e0..09c27a2 100644
> --- a/src/util/Makefile.am
> +++ b/src/util/Makefile.am
> @@ -3,6 +3,7 @@ noinst_PROGRAMS=makekeys
>  
>  makekeys_CFLAGS = \
>  	$(X11_CFLAGS) \
> +	-I$(top_srcdir)/include \
>  	$(CWARNFLAGS)
>  
>  CC = @CC_FOR_BUILD@

Strictly speaking -I is a CPPFLAGS option.

regards,
guillem


More information about the xorg-devel mailing list