Dear Thierry Reding,

On Thu,  3 Jan 2013 10:16:55 +0100, 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.red...@avionic-design.de>

I also sent a libXt cross-compilation fix a while ago, but it was never
applied:

Subject: [PATCH] libXt: util: don't link makestrs with target cflags
Date: Fri, 16 Nov 2012 10:41:06 +0100

Hopefully it will get applied some day.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to