aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pa
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-05-28 13:59:09 +0000
committerMike Frysinger <vapier@gcc.gnu.org>2015-05-28 13:59:09 +0000
commitde0e921c9df40eb12823ae1b68c271e73507b280 (patch)
treec27884750bc96eab22acb90ff91535ca44208c62 /gcc/config/pa
parent14a6143710feb60e4471ca4288b03398cbba32e8 (diff)
downloadgcc-de0e921c9df40eb12823ae1b68c271e73507b280.zip
gcc-de0e921c9df40eb12823ae1b68c271e73507b280.tar.gz
gcc-de0e921c9df40eb12823ae1b68c271e73507b280.tar.bz2
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
Diffstat (limited to 'gcc/config/pa')
-rw-r--r--gcc/config/pa/pa-linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h
index 396d321..f8da185 100644
--- a/gcc/config/pa/pa-linux.h
+++ b/gcc/config/pa/pa-linux.h
@@ -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 \