[PATCH xserver 2/2] sdksyms.sh: Use CPPFLAGS, not CFLAGS

Keith Packard keithp at keithp.com
Fri Jan 13 12:21:07 PST 2012


On Fri, 13 Jan 2012 12:07:02 -0800, Jeremy Huddleston <jeremyhu at apple.com> wrote:

> -AM_CFLAGS = $(DIX_CFLAGS) @XORG_CFLAGS@
> +AM_CPPFLAGS = $(DIX_CFLAGS) @XORG_CFLAGS@

> -	CPP='$(CPP)' AWK='$(AWK)' $(SHELL) $(srcdir)/sdksyms.sh $(top_srcdir) $(CFLAGS) $(AM_CFLAGS) $(INCLUDES)
> +	CPP='$(CPP)' AWK='$(AWK)' $(SHELL) $(srcdir)/sdksyms.sh $(top_srcdir) $(CPPFLAGS) $(AM_CPPFLAGS) $(INCLUDES)

I was momentarily confused by also seeing AM_CFLAGS get changed to
AM_CPPFLAGS, but that seems like a useful additional clarification.

Reviewed-by: Keith Packard <keithp at keithp.com>

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120113/4ecbcbc8/attachment.pgp>


More information about the xorg-devel mailing list