[haiku-development] Re: Link failure cross compiling Haiku gcc2 on Ubuntu 11.04 i386

  • From: Alexander von Gluck <kallisti5@xxxxxxxxxxx>
  • To: <haiku-development@xxxxxxxxxxxxx>
  • Date: Sun, 06 Nov 2011 07:16:30 -0600

On Sun, 06 Nov 2011 11:37:14 +0100, Ingo Weinhold wrote:
On 2011-11-06 at 07:36:31 [+0100], John Scipione <jscipione@xxxxxxxxx> wrote:

HOST_LINKFLAGS += -Xlinker --no-as-needed ;

gave me the following error building on Mac OS X:
[...]
So I changed it to:

if $(HOST_PLATFORM) != darwin {
HOST_LINKFLAGS += -Xlinker --no-as-needed ;
}

and it build fine.

Can someone (kallisti5) look into changing this?

Please just apply the change (with correct indentation, though).

I did it (r43202), let me know if anyone sees any other regressions.

Thanks!
 -- Alex

Other related posts: