[committed] Set host64 to true on hppa*64*-*-hpux*

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[committed] Set host64 to true on hppa*64*-*-hpux*

John David Anglin-4
This is a small tweak that I noticed.  Tested with binutils and gdb
builds on hppa64-hp-hpux11.11.

Dave
--
J. David Anglin                                  [hidden email]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

2005-12-30  John David Anglin  <[hidden email]>

        * configure.host (hppa*64*-*-hpux*): Set host64 to true.

Index: configure.host
===================================================================
RCS file: /cvs/src/src/bfd/configure.host,v
retrieving revision 1.16
diff -u -3 -p -r1.16 configure.host
--- configure.host 7 Nov 2005 21:55:14 -0000 1.16
+++ configure.host 30 Dec 2005 22:18:15 -0000
@@ -19,11 +19,13 @@ HOST_U_64BIT_TYPE=
 
 case "${host}" in
 
-hppa*-*-hpux*) # HP/UX's ftello64 et.al. declarations are only
+hppa*64*-*-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" ;;
+ HDEFINES="-DHOST_HPPAHPUX -D_LARGEFILE64_SOURCE"
+ host64=true;;
+hppa*-*-hpux*) HDEFINES="-DHOST_HPPAHPUX -D_LARGEFILE64_SOURCE" ;;
 hppa*-*-hiux*) HDEFINES=-DHOST_HPPAHPUX ;;
 hppa*-*-mpeix*) HDEFINES=-DHOST_HPPAMPEIX ;;
 hppa*-*-bsd*) HDEFINES=-DHOST_HPPABSD ;;