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@lists.freedesktop.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> Your subscription address: mems...@videotron.ca

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Reply via email to