diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/hpux8.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/s/hpux8.h b/src/s/hpux8.h index 852e175b016..6960c4c6dc3 100644 --- a/src/s/hpux8.h +++ b/src/s/hpux8.h | |||
| @@ -18,23 +18,23 @@ | |||
| 18 | Note GCC automatically passes -a archive to ld, and it has its own | 18 | Note GCC automatically passes -a archive to ld, and it has its own |
| 19 | conflicting -a. */ | 19 | conflicting -a. */ |
| 20 | #ifdef __GNUC__ | 20 | #ifdef __GNUC__ |
| 21 | #define LD_SWITCH_SYSTEM -Xlinker -a -Xlinker archive | ||
| 22 | |||
| 23 | /* No need to specify roundabout way of linking temacs. */ | 21 | /* No need to specify roundabout way of linking temacs. */ |
| 24 | #define ORDINARY_LINK | 22 | #define ORDINARY_LINK |
| 25 | #else | ||
| 26 | #if defined(hp9000s700) || defined(__hp9000s700) | ||
| 27 | #define LD_SWITCH_SYSTEM -a archive -L/lib/pa1.1 | ||
| 28 | #else | ||
| 29 | #define LD_SWITCH_SYSTEM -a archive | ||
| 30 | #endif | ||
| 31 | #endif | 23 | #endif |
| 32 | 24 | ||
| 33 | #if 0 /* This should no longer be necessary now that | 25 | #if ! defined (__GNUC__) && (defined(hp9000s700) || defined(__hp9000s700)) |
| 34 | C_SWITCH_... are passed down when compiling oldXMenu. */ | 26 | #ifdef HPUX_USE_SHLIBS |
| 35 | /* Specify compiler options for compiling oldXMenu. */ | 27 | #define LD_SWITCH_SYSTEM -L/lib/pa1.1 -L/usr/lib/X11R5 -L/usr/lib/X11R4 |
| 36 | #define OLDXMENU_OPTIONS CFLAGS="-I/usr/include/X11R5 -I/usr/include/X11R4" | 28 | #else |
| 29 | #define LD_SWITCH_SYSTEM -a archive -L/lib/pa1.1 -L/usr/lib/X11R5 -L/usr/lib/X11R4 | ||
| 30 | #endif | ||
| 31 | #else /* __GNUC__ or not (defined(hp9000s700) || defined(__hp9000s700)) */ | ||
| 32 | #ifdef HPUX_USE_SHLIBS | ||
| 33 | #define LD_SWITCH_SYSTEM -L/usr/lib/X11R5 -L/usr/lib/X11R4 | ||
| 34 | #else | ||
| 35 | #define LD_SWITCH_SYSTEM -a archive -L/usr/lib/X11R5 -L/usr/lib/X11R4 | ||
| 37 | #endif | 36 | #endif |
| 37 | #endif /* __GNUC__ or not (defined(hp9000s700) || defined(__hp9000s700)) */ | ||
| 38 | 38 | ||
| 39 | /* Some hpux 8 machines seem to have TIOCGWINSZ, | 39 | /* Some hpux 8 machines seem to have TIOCGWINSZ, |
| 40 | and none have sioctl.h, so might as well define this. */ | 40 | and none have sioctl.h, so might as well define this. */ |