openssl: make this cross buildable.
This commit is contained in:
parent
bf0014a62e
commit
fc06a7cc36
|
@ -4,6 +4,7 @@ _openssl_version=1.0.1
|
|||
version=${_openssl_version}c
|
||||
revision=1
|
||||
fulldepends="perl"
|
||||
crossmakedepends="zlib-devel"
|
||||
conf_files="/etc/ssl/openssl.cnf"
|
||||
subpackages="libssl openssl-devel"
|
||||
short_desc="Secure Socket Layer and cryptographic library - runtime utilities"
|
||||
|
@ -30,12 +31,14 @@ do_configure() {
|
|||
_opts="enable-ec_nistp_64_gcc_128"
|
||||
elif [ "${XBPS_MACHINE}" = "i686" ]; then
|
||||
_target="linux-elf"
|
||||
elif [ "${XBPS_MACHINE}" = "armv6l" ]; then
|
||||
_target="linux-armv4"
|
||||
fi
|
||||
|
||||
./Configure --prefix=/usr --openssldir=/etc/ssl --libdir=lib \
|
||||
shared zlib enable-md2 threads ${_opts} \
|
||||
${_target} -Wa,--noexecstack \
|
||||
"${CFLAGS}" "${LDFLAGS}" -DOPENSSL_NO_TLS1_2_CLIENT
|
||||
"${CFLAGS}" -DOPENSSL_NO_TLS1_2_CLIENT
|
||||
}
|
||||
|
||||
do_build() {
|
||||
|
|
Loading…
Reference in New Issue