[PATCH libXt 1/2] Fix cross-compilation

Alan Coopersmith alan.coopersmith at oracle.com
Fri Jun 7 21:00:35 PDT 2013


On 01/ 3/13 01:16 AM, Thierry Reding wrote:
> When cross-compiling against a sysroot for instance, a --sysroot option
> is typically passed via the CPPFLAGS variable. This can cause the build
> to break in the util subdirectory which requires the CPPFLAGS to be set
> for the build system.
>
> Solve this by using the value of CPPFLAGS_FOR_BUILD for CPPFLAGS in the
> util subdirectory. Cross-compile setups can override the variable when
> calling teh configure script.
>
> Signed-off-by: Thierry Reding <thierry.reding at avionic-design.de>

Didn't look like anyone else had picked this up yet, so I've gone ahead
and pushed to git master.  Sorry for the delay and thanks for the patch.

To ssh://git.freedesktop.org/git/xorg/lib/libXt
    02fd80a..0bf255c  master -> master

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list