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

From: alpine-mips-patches <[email-masked]>
Date: Mon, 26 Nov 2018 22:05:43 +0000

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:  [email-masked]
Help:         [email-masked]
---