summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSchala2017-06-03 19:19:39 -0700
committerSchala2017-06-03 19:19:39 -0700
commit5d3ad89532fc22a9a15368f7acc6ae63e2157ce0 (patch)
tree0cfd15bb943832ab18ffcdddfa4262a44346bfdd
parente9cc0aecb34505a4bde554a05f981b1278b9dc7e (diff)
downloadaur-5d3ad89532fc22a9a15368f7acc6ae63e2157ce0.tar.gz
fix build for gcc 7
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
2 files changed, 3 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index adc56e99ead..11b7551358f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Wed Mar 29 22:10:17 UTC 2017
+# Sun Jun 4 02:19:20 UTC 2017
pkgbase = mingw-w64-tools
pkgdesc = MinGW-w64 utilities
pkgver = 5.0.2
diff --git a/PKGBUILD b/PKGBUILD
index 1c91a5dbc59..1479f640fdc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,6 +15,8 @@ _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
build() {
cd "${srcdir}"
+ CFLAGS="-Wno-error $CFLAGS"
+ CXXFLAGS="-Wno-error $CXXFLAGS"
mkdir -p "${srcdir}"/gendef-build && cd "${srcdir}"/gendef-build
"${srcdir}"/mingw-w64-v${_pkgver}/mingw-w64-tools/gendef/configure --prefix=/usr
make