<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Tue, 2011-03-15 at 16:06 -0400, Jason Woodward wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
9ccf14fddedc11bd17b3ae30612c6f70f4cd7e14 broke cross compilation by
using target specific CFLAGS when building makestrs.
Reverting this commit fixes the problem.
</PRE>
</BLOCKQUOTE>
Thanks for isolating where the problem was injected.<BR>
<BR>
I'd like to understand better, per-target flags are not for cross-compilation<BR>
and in this case, it should be a no-op. <BR>
<BR>
Can you provide the command that is issued? Is it trying to cross-compile makestrs?<BR>
I suspect the XT_CFLAGS are missing.<BR>
<BR>
This is what I have on a regular build.
<PRE>
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
</PRE>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
take care,
jason
_______________________________________________
<A HREF="mailto:xorg@lists.freedesktop.org">xorg@lists.freedesktop.org</A>: X.Org support
Archives: <A HREF="http://lists.freedesktop.org/archives/xorg">http://lists.freedesktop.org/archives/xorg</A>
Info: <A HREF="http://lists.freedesktop.org/mailman/listinfo/xorg">http://lists.freedesktop.org/mailman/listinfo/xorg</A>
Your subscription address: <A HREF="mailto:memsize@videotron.ca">memsize@videotron.ca</A>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>