On Fri, Mar 04, 2011 at 08:38:18AM +0100, Jakub Jelinek wrote:
> We see it because we add --no-add-needed to linux LINK_EH_SPECs.

OK.  Adding the #undef is then required..

> Including freebsd-spec.h in a Linux configuration is certainly very
> questionable and undefining LINK_EH_SPEC and other macros before defining
> them would be certainly cleaner if the freebsd-spec.h include can't be just
> killed.

It's there for -mcall-freebsd.  Take that away and you won't need
freebsd-spec.h in powerpc-linux configs.

-- 
Alan Modra
Australia Development Lab, IBM

Reply via email to