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

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 06 Nov 2011 11:37:14 +0100

On 2011-11-06 at 07:36:31 [+0100], John Scipione <jscipione@xxxxxxxxx> wrote:
> The recent change to BuildSetup to fix building on Ubuntu 11.04:
> 
> 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).

CU, Ingo

Other related posts: