summaryrefslogtreecommitdiff
path: root/libre/java7-openjdk/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/java7-openjdk/PKGBUILD')
-rw-r--r--libre/java7-openjdk/PKGBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/libre/java7-openjdk/PKGBUILD b/libre/java7-openjdk/PKGBUILD
index e2a44dfab..ecab4b6a3 100644
--- a/libre/java7-openjdk/PKGBUILD
+++ b/libre/java7-openjdk/PKGBUILD
@@ -15,7 +15,7 @@ _icedtea_ver=2.6.2
#}
_updatever=91
pkgver=${_java_ver}.u${_updatever}_${_icedtea_ver}
-pkgrel=1.parabola1
+pkgrel=1.parabola2
_bootstrap=0 # 0/1 for quick build or full bootstrap
@@ -74,6 +74,11 @@ _nonheadless=(bin/policytool
lib/${_JARCH}/xawt/libmawt.so)
build() {
+ if [ "$CARCH" = "armv7h" ]; then
+ CFLAGS=`echo $CFLAGS | sed -e 's/-D_FORTIFY_SOURCE=2//'` && CXXFLAGS="$CFLAGS"
+ configure_extra="--disable-docs --enable-zero"
+ fi
+
cd "${srcdir}/icedtea-${_icedtea_ver}"
export ALT_PARALLEL_COMPILE_JOBS="${MAKEFLAGS/-j}"
@@ -108,7 +113,8 @@ build() {
--enable-nss \
--with-rhino \
--with-abs-install-dir=${_jvmdir} \
- --enable-infinality=no
+ --enable-infinality=no \
+ ${configure_extra}
# TODO latest version of openjdk will disable infinality by default
make
}