diff options
author | Ariadne Conill <ariadne@dereferenced.org> | 2020-05-27 21:14:45 +0000 |
---|---|---|
committer | Ariadne Conill <ariadne@dereferenced.org> | 2020-05-27 21:15:19 +0000 |
commit | 9297e4c430905565cc32859a8b7a84f8820cb6b7 (patch) | |
tree | dadfd76fab89d30834ae664b5e427895fb42e554 | |
parent | 23d91206f0f710128b66680d74bc89068ff21d52 (diff) | |
download | alpine_aports-9297e4c430905565cc32859a8b7a84f8820cb6b7.tar.bz2 alpine_aports-9297e4c430905565cc32859a8b7a84f8820cb6b7.tar.xz alpine_aports-9297e4c430905565cc32859a8b7a84f8820cb6b7.zip |
community/runc: enable on mips
-rw-r--r-- | community/runc/APKBUILD | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/community/runc/APKBUILD b/community/runc/APKBUILD index dce180f423..65526ae6a6 100644 --- a/community/runc/APKBUILD +++ b/community/runc/APKBUILD | |||
@@ -13,7 +13,7 @@ _ver=v${pkgver/_rc/-rc} | |||
13 | # if we're building against an explicit commit beyond pkgver, use this instead: | 13 | # if we're building against an explicit commit beyond pkgver, use this instead: |
14 | #_ver=$_commit | 14 | #_ver=$_commit |
15 | 15 | ||
16 | arch="all !mips !mips64" # PIE build mode not available on mips64 | 16 | arch="all" |
17 | license="Apache-2.0" | 17 | license="Apache-2.0" |
18 | makedepends="go go-md2man libseccomp-dev libtool" | 18 | makedepends="go go-md2man libseccomp-dev libtool" |
19 | subpackages="$pkgname-doc" | 19 | subpackages="$pkgname-doc" |
@@ -29,6 +29,15 @@ options="!check" | |||
29 | # 1.0.0_rc7-r0: | 29 | # 1.0.0_rc7-r0: |
30 | # - CVE-2019-5736 | 30 | # - CVE-2019-5736 |
31 | 31 | ||
32 | # blast away hardcoded -buildmode=pie. supported platforms will pick it back up | ||
33 | # via environment variables. | ||
34 | prepare() { | ||
35 | default_prepare | ||
36 | |||
37 | cd "$srcdir/$pkgname-${_ver#v}" | ||
38 | sed -i s:-buildmode=pie::g Makefile | ||
39 | } | ||
40 | |||
32 | build() { | 41 | build() { |
33 | cd "$srcdir" | 42 | cd "$srcdir" |
34 | export GOPATH="$PWD" | 43 | export GOPATH="$PWD" |