summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAndrejs Mivre┼ćiks2016-05-18 23:18:02 +0300
committerAndrejs Mivre┼ćiks2016-05-18 23:18:02 +0300
commit6c422c6cf91115ca2c3715cbefb9fc4a0f101c67 (patch)
treeb758a83f5e62b830257affb2f7cde269003dcd08 /PKGBUILD
parent101788ffd40eb15f4b3a931e188ac7849af36ce3 (diff)
downloadaur-6c422c6cf91115ca2c3715cbefb9fc4a0f101c67.tar.gz
Switch GCC `-std` flag value to `gnu++98`
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 80b55ae5486..b4e5de97b9e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -82,6 +82,9 @@ build() {
unset _JAVA_OPTIONS
# http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1346
export MAKEFLAGS=${MAKEFLAGS/-j*}
+ export CXXFLAGS="${CXXFLAGS} -std=gnu++98"
+ export CFLAGS="${CFLAGS} -std=gnu++98"
+ export CPPFLAGS="${CPPFLAGS} -std=gnu++98"
install -d -m 755 "${srcdir}/${_prefix}/"
sh configure \