Add support for HP-UX

tested on: HP-UX 11.31 ia64,
               gcc 4.7.1(HP AllianceOne version)
               gcc 4.2.3(http://hpux.connect.org.uk)
	       HP C/aC++

HP-UX defaults to use LP32 and it treats long as 32 bit (= 4 bytes).
This build forces LP64 for treating long as 64 bit.
This commit is contained in:
kinichiro
2014-12-08 11:08:45 +09:00
committed by Brent Cook
parent 4b7e78153c
commit 0308b63cbf
4 changed files with 42 additions and 0 deletions

View File

@@ -86,6 +86,9 @@ endif
if HOST_WIN
libcompat_la_SOURCES += compat/getentropy_win.c
endif
if HOST_HPUX
libcompat_la_SOURCES += compat/getentropy_hpux.c
endif
endif
endif
@@ -97,6 +100,9 @@ endif
if HOST_WIN
libcompat_la_SOURCES += compat/issetugid_win.c
endif
if HOST_HPUX
libcompat_la_SOURCES += compat/issetugid_hpux.c
endif
endif
noinst_HEADERS =
@@ -106,6 +112,7 @@ noinst_HEADERS += compat/arc4random_linux.h
noinst_HEADERS += compat/arc4random_osx.h
noinst_HEADERS += compat/arc4random_solaris.h
noinst_HEADERS += compat/arc4random_win.h
noinst_HEADERS += compat/arc4random_hpux.h
noinst_HEADERS += compat/chacha_private.h
libcrypto_la_SOURCES =