[Rivet] --no-as-needed only exists for ELF linkers

Andy Buckley andy.buckley at cern.ch
Mon Jul 22 20:54:28 BST 2013


Just checking up on this... and thanks to hg blame I know it's Hendrik
who added that flag ;-) What was the motivation for it? For all other
flags we check them first via the configure script... do we really
require --no-as-needed in plugin building on Linux?

Andy


On 17/07/13 16:01, James Monk wrote:
> Hi,
> 
> The linker flag --no-as-needed has been added to the rivet-buildplugin script recently.  As far as I know, this only exists on Linux, certainly it causes my linker to fail on OS X.  
> 
> Can we add a check for OS X as already occurs for the shared library flags, and revert to the old behaviour in that case?
> 
> cheers,
> 
> James
> 
> _______________________________________________
> Rivet mailing list
> Rivet at projects.hepforge.org
> http://www.hepforge.org/lists/listinfo/rivet
> 


-- 
Dr Andy Buckley, Royal Society University Research Fellow
Particle Physics Expt Group, University of Edinburgh / PH Dept, CERN


More information about the Rivet mailing list