summaryrefslogtreecommitdiff
path: root/core/perl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/perl/PKGBUILD')
-rw-r--r--core/perl/PKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/perl/PKGBUILD b/core/perl/PKGBUILD
index 1dd0db9fb..6c5229c31 100644
--- a/core/perl/PKGBUILD
+++ b/core/perl/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=perl
pkgver=5.16.3
pkgrel=1
pkgdesc="A highly capable, feature-rich programming language"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'PerlArtistic')
url="http://www.perl.org"
groups=('base')
@@ -36,8 +36,7 @@ build() {
patch -i "$srcdir/cgi-cr-escaping.diff" -p1
- if [ "${CARCH}" = "x86_64" ]; then
- # for x86_64
+ if [ "${CARCH}" != "i686" ]; then
arch_opts="-Dcccdlflags='-fPIC'"
else
# for i686