FS#19054 - makepkg.conf LDFLAGS -Wl,--as-need troublesome
Attached to Project:
Arch Linux
Opened by Andrej Gelenberg (nikel) - Monday, 12 April 2010, 08:04 GMT
Last edited by Allan McRae (Allan) - Monday, 12 April 2010, 09:12 GMT
Opened by Andrej Gelenberg (nikel) - Monday, 12 April 2010, 08:04 GMT
Last edited by Allan McRae (Allan) - Monday, 12 April 2010, 09:12 GMT
|
Details
The LDFLAGS -Wl,--as-need cause linking errors sometimes.
This flag bring not so much benefits, but problems.
My request is to remove that flag from default LDFLAGS in makepkg.conf. For example see vimprobable2 in aur repo. http://aur.archlinux.org/packages.php?ID=33779 |
This task depends upon
Closed by Allan McRae (Allan)
Monday, 12 April 2010, 09:12 GMT
Reason for closing: Won't implement
Additional comments about closing: See comments
Monday, 12 April 2010, 09:12 GMT
Reason for closing: Won't implement
Additional comments about closing: See comments
@wonder: I don't wont to eliminate all LDFLAGS.
export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
There is no way that --as-needed is every being removed from the default LDFLAGS. It breaks a few packages where upstream do not know what they are doing but it saves us A LOT of trouble.