libXt 1.1.1 cross compilation breakage

Gaetan Nadon memsize at videotron.ca
Tue Mar 15 15:47:08 PDT 2011


On Tue, 2011-03-15 at 16:06 -0400, Jason Woodward wrote:

> 9ccf14fddedc11bd17b3ae30612c6f70f4cd7e14 broke cross compilation by
> using target specific CFLAGS when building makestrs.
> 
> Reverting this commit fixes the problem.
> 

Thanks for isolating where the problem was injected.

I'd like to understand better, per-target flags are not for
cross-compilation
and in this case, it should be a no-op. 

Can you provide the command that is issued? Is it trying to
cross-compile makestrs?
I suspect the XT_CFLAGS are missing.

This is what I have on a regular build.

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..    -I/home/nadon/xorg/src/include    -g -O2 -MT makestrs.o -MD -MP -MF .deps/makestrs.Tpo -c -o makestrs.o makestrs.c
/bin/bash ../libtool --tag=CC   --mode=link gcc -std=gnu99 -I/home/nadon/xorg/src/include    -g -O2   -o makestrs makestrs.o  
libtool: link: gcc -std=gnu99 -I/home/nadon/xorg/src/include -g -O2 -o makestrs makestrs.o




> 
> take care,
> jason
> _______________________________________________
> xorg at lists.freedesktop.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> Your subscription address: memsize at videotron.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20110315/83e5a582/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20110315/83e5a582/attachment.pgp>


More information about the xorg mailing list