diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-05-29 12:39:54 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-05-29 12:39:54 -0400 |
commit | 52b46f26c91bb69526a0f9deca9323893c8dbde3 (patch) | |
tree | 74549d980e89009a01ef15dacbeaa45d8e9e7379 /gcc | |
parent | 461a68acbf5179ac002c5cf01345dd0150c2064c (diff) | |
download | gcc-52b46f26c91bb69526a0f9deca9323893c8dbde3.zip gcc-52b46f26c91bb69526a0f9deca9323893c8dbde3.tar.gz gcc-52b46f26c91bb69526a0f9deca9323893c8dbde3.tar.bz2 |
({STARTFILE,LIB,CPP}_SPEC): Handle -Xp like -posix.
From-SVN: r9836
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/i386/isc.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gcc/config/i386/isc.h b/gcc/config/i386/isc.h index 6d8c3a3..cf8c5f6 100644 --- a/gcc/config/i386/isc.h +++ b/gcc/config/i386/isc.h @@ -6,15 +6,20 @@ #undef STARTFILE_SPEC #define STARTFILE_SPEC \ "%{!shlib:%{posix:%{pg:mcrtp1.o%s}%{!pg:%{p:mcrtp1.o%s}%{!p:crtp1.o%s}}}\ - %{!posix:%{pg:mcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}}\ - %{p:-L/lib/libp} %{pg:-L/lib/libp}}}\ - %{shlib:%{posix:crtp1.o%s}%{!posix:crt1.o%s}} crtbegin.o%s" + %{Xp:%{pg:mcrtp1.o%s}%{!pg:%{p:mcrtp1.o%s}%{!p:crtp1.o%s}}}\ + %{!posix:%{!Xp:%{pg:mcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}}\ + %{p:-L/lib/libp} %{pg:-L/lib/libp}}}}\ + %{shlib:%{Xp:crtp1.o%s}%{posix:crtp1.o%s}%{!posix:%{!Xp:crt1.o%s}}}\ + crtbegin.o%s" #define ENDFILE_SPEC "crtend.o%s crtn.o%s" /* Library spec */ #undef LIB_SPEC -#define LIB_SPEC "%{shlib:-lc_s} %{posix:-lcposix} -lc -lg" +#define LIB_SPEC "%{shlib:-lc_s} %{posix:-lcposix} %{Xp:-lcposix} -lc -lg" + +#undef CPP_SPEC +#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{Xp:-D_POSIX_SOURCE}" /* ISC 2.2 uses `char' for `wchar_t'. */ #undef WCHAR_TYPE |