aboutsummaryrefslogtreecommitdiffstats
path: root/main/dtc
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-03-28 05:44:31 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-03-28 05:44:31 +0000
commit9f602f3eaea436b39d9c377be8f63fea7d38348a (patch)
tree11d6e4b5061561bcb51fbc78bd1a9d864b7efa5e /main/dtc
parentfeac8738a6d320e3f3abfc163bc860ad1575ba37 (diff)
downloadaports-9f602f3eaea436b39d9c377be8f63fea7d38348a.tar.bz2
aports-9f602f3eaea436b39d9c377be8f63fea7d38348a.tar.xz
main/dtc: disable -Werror because flex generates warnings
Diffstat (limited to 'main/dtc')
-rw-r--r--main/dtc/APKBUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/dtc/APKBUILD b/main/dtc/APKBUILD
index 23ba3f34e0..2d3192ed07 100644
--- a/main/dtc/APKBUILD
+++ b/main/dtc/APKBUILD
@@ -16,6 +16,11 @@ source="https://kernel.org/pub/software/utils/dtc/dtc-$pkgver.tar.xz
"
builddir="$srcdir/dtc-$pkgver"
+prepare() {
+ default_prepare
+ sed -i s:-Werror::g "$builddir"/Makefile
+}
+
build() {
cd "$builddir"
make || return 1