[PATCH] microblaze-linux: add missing cpp specs
Mike Frysinger
vapier@gentoo.org
Wed May 27 16:47:00 GMT 2015
On 27 May 2015 18:03, Andreas Schwab wrote:
> Mike Frysinger <vapier@gentoo.org> writes:
>
> > diff --git a/gcc/config/microblaze/linux.h b/gcc/config/microblaze/linux.h
> > index a7faa7d..655a70f 100644
> > --- a/gcc/config/microblaze/linux.h
> > +++ b/gcc/config/microblaze/linux.h
> > @@ -22,6 +22,9 @@
> > #undef TARGET_SUPPORTS_PIC
> > #define TARGET_SUPPORTS_PIC 1
> >
> > +#undef CPP_SPEC
> > +#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
>
> Should this be defined by a shared header?
i was going to poke that next, but i don't think fixing the few fringe arches
should be predicated on cleaning up a mess that has been here for over a decade.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150527/01a6bda7/attachment.sig>
More information about the Gcc-patches
mailing list