hppa-linux: add missing cpp specs

Define CPP_SPEC for parisc linux targets so that -posix & -pthread work
like on all other linux targets.

Discovered via Gentoo bug https://bugs.gentoo.org/543114

From-SVN: r223820
This commit is contained in:
Mike Frysinger 2015-05-28 13:59:09 +00:00 committed by Mike Frysinger
parent 14a6143710
commit de0e921c9d
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2015-05-28 Mike Frysinger <vapier@gentoo.org>
* config/pa/pa-linux.h (CPP_SPEC): Change so -D_REENTRANT is used when
-pthread is specified.
2015-05-28 Richard Biener <rguenther@suse.de>
* tree-vect-loop.c (vect_fixup_reduc_chain): New function.

View file

@ -28,7 +28,7 @@ along with GCC; see the file COPYING3. If not see
while (0)
#undef CPP_SPEC
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE}"
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
#undef ASM_SPEC
#define ASM_SPEC \