http://bugs.freedesktop.org/show_bug.cgi?id=16860

           Summary: Demos do not compile in 32-bit mode
           Product: Mesa
           Version: CVS
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Demos
        AssignedTo: mesa3d-dev@lists.sourceforge.net
        ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=17907)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=17907)
Fix link issues in 32bit mode

Several demos are using hand-written rules in Makefiles instead of the generic
ones. In particular, they call gcc without passing flags, which leads to link
failures when compiling 32-bit demos on 64-bit hosts: "incompatible ELF format"
and the like.

The attached patch fixes the issue by ensuring that $(CFLAGS) is passed
whenever $(CC) is called in these hand-written rules.

(It would probably make a lot more sense to not call $(CC) when linking; but I
guess there is a good reason for it, so I have not changed it.)


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to