summarylogtreecommitdiffstats
path: root/PKGBUILD
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 /PKGBUILD
parent9bd927c065efb12acd32272feed884861a426af4 (diff)
downloadaur-ee9a1a8a3e169a40026a33abf3ced1e9a08aa8fa.tar.gz
Add `-Wno-deprecated-declarations` compiler flag
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 4 insertions, 0 deletions
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 \