aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-09-03 15:28:47 +0300
committerTimo Teräs <timo.teras@iki.fi>2015-09-03 15:28:47 +0300
commitc89a5381ecc4348bed601b894c532d16a6531909 (patch)
treec51c5bc7e7763bf04da18fb9e1b6969329d18ac8
parenteb1f7e9542e12adf37ca37ac3444f4fd45450a24 (diff)
downloadaports-c89a5381ecc4348bed601b894c532d16a6531909.tar.bz2
aports-c89a5381ecc4348bed601b894c532d16a6531909.tar.xz
main/openjdk7: allow textrels on arm
this seems to be the only blocker preventing arm build, and there's no simple fix for this. openjdk has thousands of lines of arm asm and it's all non-pic. allow textrels for arm for the time being.
-rw-r--r--main/openjdk7/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/openjdk7/APKBUILD b/main/openjdk7/APKBUILD
index b286c14b46..d257ab6ce9 100644
--- a/main/openjdk7/APKBUILD
+++ b/main/openjdk7/APKBUILD
@@ -28,7 +28,10 @@ ANT_VER=1.9.2
case $CARCH in
x86) _jarch=i386;;
x86_64) _jarch=amd64;;
-arm*) _jarch=arm;;
+arm*) _jarch=arm
+ # openjdk has quite a bit of arm assembly producing textrels
+ # and it's non trivial to fix. allow it that for now.
+ options="$options textrels";;
esac
INSTALL_BASE=/usr/lib/jvm/java-1.7-openjdk