[alpine-aports] [PATCH] main/openssl: enable build on mips*

alpine-mips-patches
Details
Message ID
<20181126225519.2387464013@mx7.valuehost.ru>
Sender timestamp
1543269943
DKIM signature
missing
Download raw message
Patch: +3 -0
Do not bump pkgrel since no previously built mips* apk exist and
other architectures are unaffected.
---
 main/openssl/APKBUILD | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/main/openssl/APKBUILD b/main/openssl/APKBUILD
index 57af4f3c88..5f7c853ae9 100644
--- a/main/openssl/APKBUILD
+++ b/main/openssl/APKBUILD
@@ -37,6 +37,9 @@ build() {
 	case "$CARCH" in
 	aarch64*) _target="linux-aarch64" ;;
 	arm*)   _target="linux-armv4" ;;
+	mips64*) _target="linux64-mips64" ;;
+	# explicit _optflags is needed to prevent automatic -mips3 addition
+	mips*) _target="linux-mips32"; _optflags="-mips32" ;;
 	ppc64le) _target="linux-ppc64le" ;;
 	x86)    _target="linux-elf" ;;
 	x86_64) _target="linux-x86_64"; _optflags="enable-ec_nistp_64_gcc_128" ;;
-- 
2.19.1




---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---