* config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.

From-SVN: r45866
This commit is contained in:
Rainer Orth 2001-09-28 21:35:06 +00:00 committed by Rainer Orth
parent c20d89f553
commit 5bc1087737
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
2001-09-25 Bernd Schmidt <bernds@redhat.com>
Mostly from Graham Stott <grahams@redhat.com>

View file

@ -83,6 +83,14 @@ Boston, MA 02111-1307, USA. */
%{!pthreads:%{threads:-D_REENTRANT -D_SOLARIS_THREADS}} \
%{compat-bsd:-iwithprefixbefore ucbinclude -I/usr/ucbinclude}"
/* For C++ we need to add some additional macro definitions required
by the C++ standard library. */
#define CPLUSPLUS_CPP_SPEC "\
-D_XOPEN_SOURCE=500 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 \
-D__EXTENSIONS__ \
%(cpp) \
"
#undef LIB_SPEC
#define LIB_SPEC \
"%{compat-bsd:-lucb -lsocket -lnsl -lelf -laio} \