[arch-dev-public] Default LDFLAGS for official packages

Aaron Griffin aaronmgriffin at gmail.com
Wed Aug 12 11:37:33 EDT 2009


On Wed, Aug 12, 2009 at 7:24 AM, Dan McGee<dpmcgee at gmail.com> wrote:
> On Wed, Aug 12, 2009 at 4:19 AM, Allan McRae<allan at archlinux.org> wrote:
>> Thomas Bächler wrote:
>>>
>>> I think we should agree on a default LDFLAGS setting for our official
>>> packages. In the pacman signoff thread, it was suggested to use
>>> -Wl,--as-needed and later also -Wl,--no-undefined (and more). Can we compose
>>> a default LDFLAGS line that we all should use?
>>>
>>
>> I will again propose:
>> -Wl,--hash-style=gnu -Wl,--as-needed
>>
>> Last time I tried, --no-undefined broke quite a few packages so I don't
>> think it is ready for general use yet.
>
> I'm fine with whatever people decide

I'm with Dan here. As these discussions have shown, you guys know way
more about gcc linker flags than I, so I will defer to what you guys
think is right in this case. --as-needed is the only one I *know* is
pretty important, though


More information about the arch-dev-public mailing list