[haiku-commits] Re: haiku: hrev43453 - in src: build/libbe kits/interface

  • From: Fredrik Holmqvist <fredrik.holmqvist@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 10 Dec 2011 22:35:13 +0100

2011/12/10 Ingo Weinhold <ingo_weinhold@xxxxxx>:
> This isn't the best way to do it. "m" should be added to HOST_LIBROOT 
> instead. Please have a look at build/jam/BuildSetup which is the place where 
> that should happen.

I'll look into it, but if i understand correctly it won't really help
with gold. It has a stricter 'no-as-needed' flag set that from what
I've read means that if libbe_build depends on libroot_build and
libroot_build is the only one that links to m libbe_build won't build.
At least that is how I interpreted http://wiki.debian.org/ToolChain/DSOLinking

I did try to add it to libroot_build first, but maybe now that I think
about it, perhaps it needs to use math.h as well to declare the
functions extern.

I'll see what I can come up with.

/Fredrik Holmqvist, TQH

Other related posts: