Commit | Line | Data |
---|---|---|
a2a9c59e RS |
1 | #include "irix5-0.h" |
2 | ||
3 | /* Irix 6 tries to do 64 bits, but doesn't do it fully, | |
4 | so inhibit that. */ | |
5 | #define IRIX_FORCE_32_BITS | |
14ee2e03 RS |
6 | |
7 | #ifndef __GNUC__ | |
8 | #define LD_SWITCH_SYSTEM -32 | |
9 | #endif | |
923735b7 KH |
10 | |
11 | /* This macro definition, which we inherited from irix5-0.h, | |
12 | is needed in configure on Irix 5, but gets in the way there | |
13 | on Irix 6. So get rid of it except in Makefile.in where we need it. */ | |
14 | #ifndef THIS_IS_MAKEFILE | |
15 | #undef C_SWITCH_SYSTEM | |
16 | #endif | |
c0f8e3a9 | 17 | |
26507191 RS |
18 | /* The only supported configuration of GCC under IRIX6.x produces |
19 | n32 MIPS ABI binaries and also supports -g. */ | |
20 | #ifdef __GNUC__ | |
21 | #undef C_DEBUG_SWITCH | |
22 | #define C_DEBUG_SWITCH -g | |
23 | #endif | |
24 | ||
c0f8e3a9 | 25 | #undef SA_RESTART |
f74e8587 | 26 | |
b60f4a5c RS |
27 | /* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */ |
28 | #if 0 | |
f74e8587 RS |
29 | /* Canced the #define that is in irix5-0.h. */ |
30 | #undef ospeed | |
b60f4a5c | 31 | #endif |