diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-02-14 15:38:20 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-02-14 15:38:20 +0000 |
commit | d34f6c26d9d527eaeb5330527e3426192202ce89 (patch) | |
tree | 336749edd3a6cd9093952a04bbfa67a7cc760432 /bfd/configure.host | |
parent | 026e8e29186c7376cbee747fe387b5cf35c7ac36 (diff) | |
download | binutils-redhat-d34f6c26d9d527eaeb5330527e3426192202ce89.tar.gz |
2004-02-14 Andrew Cagney <cagney@redhat.com>
* configure.host (HDEFINES): When hppa*-*-hpux*, define
_LARGEFILE64_SOURCE.
Diffstat (limited to 'bfd/configure.host')
-rw-r--r-- | bfd/configure.host | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bfd/configure.host b/bfd/configure.host index 69eb17ac95..024ed62542 100644 --- a/bfd/configure.host +++ b/bfd/configure.host @@ -19,7 +19,11 @@ HOST_U_64BIT_TYPE= case "${host}" in -hppa*-*-hpux*) HDEFINES=-DHOST_HPPAHPUX ;; +hppa*-*-hpux*) # HP/UX's ftello64 et.al. declarations are only + # visible when _LARGEFILE64_SOURCE is defined. + # Without those declarations, real_ftell et.al. + # get mis-compiled. + HDEFINES="-DHOST_HPPAHPUX -D_LARGEFILE64_SOURCE" ;; hppa*-*-hiux*) HDEFINES=-DHOST_HPPAHPUX ;; hppa*-*-mpeix*) HDEFINES=-DHOST_HPPAMPEIX ;; hppa*-*-bsd*) HDEFINES=-DHOST_HPPABSD ;; |