summaryrefslogtreecommitdiff
path: root/gnu/egcs/gcc/config/rs6000
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/egcs/gcc/config/rs6000')
-rw-r--r--gnu/egcs/gcc/config/rs6000/sysv4.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/gnu/egcs/gcc/config/rs6000/sysv4.h b/gnu/egcs/gcc/config/rs6000/sysv4.h
index 99e91ec52e0..e9673821f06 100644
--- a/gnu/egcs/gcc/config/rs6000/sysv4.h
+++ b/gnu/egcs/gcc/config/rs6000/sysv4.h
@@ -1350,12 +1350,18 @@ do { \
#ifndef CPP_OS_LINUX_SPEC
#ifdef USE_GNULIBC_1
-#define CPP_OS_LINUX_SPEC "-D__unix__ -D__linux__ \
-%{!undef:%{!ansi:%{!std=*:-Dunix -Dlinux}%{std=gnu*:-Dunix -Dlinux}}} \
+#define CPP_OS_LINUX_SPEC "-D__unix__ -D__linux__ \
+%{!undef: \
+ %{!ansi: \
+ %{!std=*:-Dunix -D__unix -Dlinux -D__linux} \
+ %{std=gnu*:-Dunix -D__unix -Dlinux -D__linux}}} \
-Asystem(unix) -Asystem(posix)"
#else
-#define CPP_OS_LINUX_SPEC "-D__unix__ -D__linux__ \
-%{!undef:%{!ansi:%{!std=*:-Dunix -Dlinux}%{std=gnu*:-Dunix -Dlinux}}} \
+#define CPP_OS_LINUX_SPEC "-D__unix__ -D__linux__ \
+%{!undef: \
+ %{!ansi: \
+ %{!std=*:-Dunix -D__unix -Dlinux -D__linux} \
+ %{std=gnu*:-Dunix -D__unix -Dlinux -D__linux}}} \
-Asystem(unix) -Asystem(posix) %{pthread:-D_REENTRANT}"
#endif
#endif