mirror of https://github.com/openssl/openssl.git
				
				
				
			A couple of corrections concerning HPUX 10 and shared libraries.
Contributed by Lutz Jaenicke.
This commit is contained in:
		
							parent
							
								
									6e1c21abe4
								
							
						
					
					
						commit
						3bead95bae
					
				|  | @ -203,6 +203,8 @@ my %table=( | ||||||
| #					<appro@fy.chalmers.se> | #					<appro@fy.chalmers.se> | ||||||
| # | # | ||||||
| "hpux-parisc-cc","cc:-Ae +O3 +ESlit -z -DB_ENDIAN -DBN_DIV2W -DMD32_XARRAY::::BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::", | "hpux-parisc-cc","cc:-Ae +O3 +ESlit -z -DB_ENDIAN -DBN_DIV2W -DMD32_XARRAY::::BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::", | ||||||
|  | # Since there is mention of this in shlib/hpux10-cc.sh | ||||||
|  | "hpux-parisc-cc-o4","cc:-Ae +O4 +ESlit -z -DB_ENDIAN -DBN_DIV2W -DMD32_XARRAY::::BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::", | ||||||
| "hpux-parisc-gcc","gcc:-O3 -DB_ENDIAN -DBN_DIV2W::::BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::", | "hpux-parisc-gcc","gcc:-O3 -DB_ENDIAN -DBN_DIV2W::::BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::", | ||||||
| "hpux64-parisc-cc","cc:-Ae +DD64 +O3 +ESlit -z -DB_ENDIAN -DMD32_XARRAY::-D_REENTRANT::SIXTY_FOUR_BIT_LONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT:::", | "hpux64-parisc-cc","cc:-Ae +DD64 +O3 +ESlit -z -DB_ENDIAN -DMD32_XARRAY::-D_REENTRANT::SIXTY_FOUR_BIT_LONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT:::", | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,4 +1,7 @@ | ||||||
| #!/usr/bin/sh | #!/usr/bin/sh | ||||||
|  | # | ||||||
|  | # Run this script from the OpenSSL root directory: | ||||||
|  | # sh shlib/hpux10-cc.sh | ||||||
| #  | #  | ||||||
| # HP-UX (10.20) shared library installation: | # HP-UX (10.20) shared library installation: | ||||||
| # Compile and install OpenSSL with best possible optimization: | # Compile and install OpenSSL with best possible optimization: | ||||||
|  | @ -16,10 +19,10 @@ | ||||||
| # | # | ||||||
| # WARNING: At high optimization levels, HP's ANSI-C compiler can chew up | # WARNING: At high optimization levels, HP's ANSI-C compiler can chew up | ||||||
| #          large amounts of memory and CPU time. Make sure to have at least | #          large amounts of memory and CPU time. Make sure to have at least | ||||||
| #          128MB of RAM available and that you kernel is configure to allow | #          128MB of RAM available and that your kernel is configured to allow | ||||||
| #          128MB data size (maxdsiz parameter). | #          at least 128MB data size (maxdsiz parameter). | ||||||
| #          The installation process can take several hours, even on fast | #          The installation process can take several hours, even on fast | ||||||
| #          machines. +O4 Optimization of the libcrypto.sl shared library may | #          machines. +O4 optimization of the libcrypto.sl shared library may | ||||||
| #          take 1 hour on a C200 (200MHz PA8200 CPU), +O3 compilation of | #          take 1 hour on a C200 (200MHz PA8200 CPU), +O3 compilation of | ||||||
| #          fcrypt_b.c can take 20 minutes on this machine. Stay patient. | #          fcrypt_b.c can take 20 minutes on this machine. Stay patient. | ||||||
| # | # | ||||||
|  | @ -31,7 +34,7 @@ SITEFLAGS="+DAportable +w1" | ||||||
| # | # | ||||||
| # Set the default additions to build with HP-UX. | # Set the default additions to build with HP-UX. | ||||||
| # -D_REENTRANT must/should be defined on HP-UX manually, since we do call | # -D_REENTRANT must/should be defined on HP-UX manually, since we do call | ||||||
| # Confiugure directly. | # Configure directly. | ||||||
| # +Oall increases the optimization done. | # +Oall increases the optimization done. | ||||||
| # | # | ||||||
| MYFLAGS="-D_REENTRANT +Oall $SITEFLAGS" | MYFLAGS="-D_REENTRANT +Oall $SITEFLAGS" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue