https://bugs.freedesktop.org/show_bug.cgi?id=50754

--- Comment #12 from Alexandre Demers <[email protected]> 2012-08-18 
22:03:34 UTC ---
(In reply to comment #11)
> (In reply to comment #8)
> > Created attachment 65690 [details] [review] [review]
> > hopeful fix
> > 
> > attached patch fixes the issue for me
> 
> Can you explain why this works?

According to
http://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html, LT_INIT
will test some environment variables, CFLAGS being one of them. By moving the
LT_INIT macro from line 27 below line 274, CFLAGS is now defined according to
32 or 64 bit build (done between lines 240 and 270). That is, by setting
"--enable-32-bit" when building mesa (line 248), CFLAGS="$CFLAGS -m32" (line
250), thus LT_INIT will consider using 32 bit mode when initialized.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to