diff options
author | Isaac David <isacdaavid@isacdaavid.info> | 2015-11-02 22:29:56 -0600 |
---|---|---|
committer | Isaac David <isacdaavid@isacdaavid.info> | 2015-11-02 22:29:56 -0600 |
commit | 564471eac13038d62c589b4a107039c23fb4f17f (patch) | |
tree | 64feeec0d11ecc86f28d0b70e6a79dd64101be33 | |
parent | e51cb0af4c636000af85de1c4acaa9e04ec386f4 (diff) | |
download | abslibre-564471eac13038d62c589b4a107039c23fb4f17f.tar.gz abslibre-564471eac13038d62c589b4a107039c23fb4f17f.tar.bz2 abslibre-564471eac13038d62c589b4a107039c23fb4f17f.zip |
libre/java7-openjdk: fix arm port
-rw-r--r-- | libre/java7-openjdk/PKGBUILD | 10 |
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 } |