diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/sunos4-0.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/s/sunos4-0.h b/src/s/sunos4-0.h index a0cba915cc9..6625785d859 100644 --- a/src/s/sunos4-0.h +++ b/src/s/sunos4-0.h | |||
| @@ -5,7 +5,11 @@ | |||
| 5 | #define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */ | 5 | #define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */ |
| 6 | #endif | 6 | #endif |
| 7 | 7 | ||
| 8 | #ifdef __GNUC__ | ||
| 9 | #define LD_SWITCH_SYSTEM -e __start -static | ||
| 10 | #else | ||
| 8 | #define LD_SWITCH_SYSTEM -e __start -Bstatic | 11 | #define LD_SWITCH_SYSTEM -e __start -Bstatic |
| 12 | #endif | ||
| 9 | 13 | ||
| 10 | /* In SunOS 4.1, a static function called by tzsetwall reportedly | 14 | /* In SunOS 4.1, a static function called by tzsetwall reportedly |
| 11 | clears the byte just past an eight byte region it mallocs, corrupting | 15 | clears the byte just past an eight byte region it mallocs, corrupting |