[brlcad-tracker] [ brlcad-Patches-2953172 ] Compilation with LDFLAGS="-Wl, --as-needed"
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: SourceForge.net <no...@so...> - 2010-02-16 23:47:16
|
Patches item #2953172, was opened at 2010-02-17 00:47 Message generated for change (Tracker Item Submitted) made by ctulhu You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640804&aid=2953172&group_id=105292 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Compilation Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: hanno boeck (ctulhu) Assigned to: Nobody/Anonymous (nobody) Summary: Compilation with LDFLAGS="-Wl,--as-needed" Initial Comment: ld supports a flag --as-needed, which causes only the libraries needed to be linked in. However, this requires the linking order to be correct. Attached patch fixes this in brlcad at one place, it had misused LDADD for adding libraries, while LIBADD should be used for that. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640804&aid=2953172&group_id=105292 |