summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrejs Mivre┼ćiks2016-09-10 22:57:28 +0300
committerAndrejs Mivre┼ćiks2016-09-10 22:57:28 +0300
commitee9a1a8a3e169a40026a33abf3ced1e9a08aa8fa (patch)
treea5c5ec7e9179fd45a551d4b10f8968738bdbdf0f
parent9bd927c065efb12acd32272feed884861a426af4 (diff)
downloadaur-ee9a1a8a3e169a40026a33abf3ced1e9a08aa8fa.tar.gz
Add `-Wno-deprecated-declarations` compiler flag
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 5 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 01ae617abb4..8964af2cb6b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Wed Aug 3 05:10:22 UTC 2016
+# Sat Sep 10 19:57:07 UTC 2016
pkgbase = java8-openjdk
pkgver = 8.u102
pkgrel = 1
diff --git a/PKGBUILD b/PKGBUILD
index eb3c0cb6207..c8596eaac89 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -89,6 +89,10 @@ build() {
unset CLASSPATH
# http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1346
export MAKEFLAGS=${MAKEFLAGS/-j*}
+ # Fixes build issues for some people
+ export CFLAGS="$CFLAGS -Wno-deprecated-declarations"
+ export CXXFLAGS="$CXXFLAGS -Wno-deprecated-declarations"
+
install -d -m 755 "${srcdir}/${_prefix}/"
sh configure \