Commit 5e3caf26 by Rainer Orth Committed by Rainer Orth

* config/i386/sol2.h (CPP_SPEC): Pass -P for .S files.

From-SVN: r43587
parent 672a6f42
2001-06-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* config/i386/sol2.h (CPP_SPEC): Pass -P for .S files.
2001-06-26 Neil Booth <neil@daikokuya.demon.co.uk> 2001-06-26 Neil Booth <neil@daikokuya.demon.co.uk>
* Makefile.in (TARGET_H, TARGET_DEF_H): New. * Makefile.in (TARGET_H, TARGET_DEF_H): New.
......
/* Target definitions for GNU compiler for Intel 80386 running Solaris 2 /* Target definitions for GNU compiler for Intel 80386 running Solaris 2
Copyright (C) 1993, 1995, 1996, 1997, 1998, 1999 Copyright (C) 1993, 1995, 1996, 1997, 1998, 1999, 2000, 2001
Free Software Foundation, Inc. Free Software Foundation, Inc.
Contributed by Fred Fish (fnf@cygnus.com). Contributed by Fred Fish (fnf@cygnus.com).
...@@ -66,8 +66,11 @@ Boston, MA 02111-1307, USA. */ ...@@ -66,8 +66,11 @@ Boston, MA 02111-1307, USA. */
#define CPP_PREDEFINES \ #define CPP_PREDEFINES \
"-Dunix -D__svr4__ -D__SVR4 -Dsun -Asystem=svr4" "-Dunix -D__svr4__ -D__SVR4 -Dsun -Asystem=svr4"
/* Solaris 2/Intel as chokes on #line directives. */
#undef CPP_SPEC #undef CPP_SPEC
#define CPP_SPEC "%(cpp_cpu) \ #define CPP_SPEC \
"%{.S:-P} \
%(cpp_cpu) \
%{pthreads:-D_REENTRANT -D_PTHREADS} \ %{pthreads:-D_REENTRANT -D_PTHREADS} \
%{!pthreads:%{threads:-D_REENTRANT -D_SOLARIS_THREADS}} \ %{!pthreads:%{threads:-D_REENTRANT -D_SOLARIS_THREADS}} \
%{compat-bsd:-iwithprefixbefore ucbinclude -I/usr/ucbinclude}" %{compat-bsd:-iwithprefixbefore ucbinclude -I/usr/ucbinclude}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment