aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-01-31 18:16:45 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1994-01-31 18:16:45 -0500
commitbd7da539d59eb9ed59ea8076360100613fa1e1d8 (patch)
treed1fc991a578392109f9375a76b1242812bc81ab2
parentbacacd4dc4c7f6f2b9b9ab44776b40561458853d (diff)
downloadgcc-bd7da539d59eb9ed59ea8076360100613fa1e1d8.zip
gcc-bd7da539d59eb9ed59ea8076360100613fa1e1d8.tar.gz
gcc-bd7da539d59eb9ed59ea8076360100613fa1e1d8.tar.bz2
(CPP_SPEC): Add -Dsun.
From-SVN: r6445
-rw-r--r--gcc/config/i386/sol2.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/i386/sol2.h b/gcc/config/i386/sol2.h
index 11c78f4..9f80162 100644
--- a/gcc/config/i386/sol2.h
+++ b/gcc/config/i386/sol2.h
@@ -32,6 +32,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define FORCE_INIT_SECTION_ALIGN do { asm (ALIGN_ASM_OP ## " 16"); } while (0)
+/* Add "sun" to the list of symbols defined for SVR4. */
+#undef CPP_PREDEFINES
+#define CPP_PREDEFINES \
+ "-Di386 -Dunix -D__svr4__ -Dsun \
+ -Asystem(unix) -Asystem(svr4) -Acpu(i386) -Amachine(i386)"
+
#undef CPP_SPEC
#define CPP_SPEC "\
%{compat-bsd:-iwithprefixbefore ucbinclude -I/usr/ucbinclude}"