This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] microblaze-linux: add missing cpp specs
- From: Andreas Schwab <schwab at suse dot de>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: gcc-patches at gcc dot gnu dot org, eager at eagercon dot com
- Date: Wed, 27 May 2015 18:03:47 +0200
- Subject: Re: [PATCH] microblaze-linux: add missing cpp specs
- Authentication-results: sourceware.org; auth=none
- References: <1432742394-23471-1-git-send-email-vapier at gentoo dot org>
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?
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."