[Buildroot] [PATCH] sawman: Link using gcc instead of ld

Markos Chandras Markos.Chandras at imgtec.com
Mon Dec 9 16:48:53 UTC 2013


On 12/09/2013 11:58 AM, Vicente Olivert Riera wrote:
> On 12/09/2013 11:47 AM, Vicente Olivert Riera wrote:
>> On 12/06/2013 06:08 PM, Thomas Petazzoni wrote:
>>> Dear Vicente Olivert Riera,
>>>
>>> On Fri, 6 Dec 2013 16:30:28 +0000, Vicente Olivert Riera wrote:
>>>
>>>> +--- SaWMan-1.6.3/wm/sawman/Makefile.in.orig    2013-12-06
>>>> 14:22:22.675409826 +0000
>>>> ++++ SaWMan-1.6.3/wm/sawman/Makefile.in    2013-12-06
>>>> 16:04:03.383752843 +0000
>>>
>>> Makefile.in is generated from Makefile.am. So we shouldn't be fixing
>>> Makefile.in, but instead Makefile.am or the process that generates
>>> Makefile.in from Makefile.am.
>>>
>>> What happens if you simply add:
>>>
>>> SAWMAN_AUTORECONF = YES
>>>
>>>   ?
>>
>> You still have the same problem.
>>
>>> Best regards,
>>>
>>> Thomas
>>>
>>
>>
>
> Adding:
>
> LD = $(CC) -nostdlib
>
> to Makefile.am and also:
>
> SAWMAN_AUTORECONF = YES
>
> to sawman.mk fixes the problem.
>
> What do you think about this solution?
>

Yes this is preferred. You should patch configure.ac or Makefile.am (if 
they are available) and run autoreconf as suggested.

-- 
markos



More information about the buildroot mailing list