https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112397

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Iain Sandoe from comment #7)
> (In reply to Jakub Jelinek from comment #6)
> > (In reply to Jonathan Wakely from comment #5)
> > > Maybe:
> > > 
> > > ifneq ($(filter %-darwin%,${host_alias}),)
> > 
> > ${target_os} instead maybe?
> 
> I'll give that a try (we have similar stanzas in the Ada build stuff)

Of course for ${target_os} one would need to leave out the - before darwin,
because target_os will be darwinsomething, so
ifneq ($(filter darwin%,${target_os}),)
Or host_os?  Never know what one should use in target libraries, maybe host and
target is the same there, just build might be different?

Reply via email to