aboutsummaryrefslogtreecommitdiffstats
path: root/testing/crda/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/crda/APKBUILD')
-rw-r--r--testing/crda/APKBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/crda/APKBUILD b/testing/crda/APKBUILD
index bc5d020569..f6e11ea8aa 100644
--- a/testing/crda/APKBUILD
+++ b/testing/crda/APKBUILD
@@ -14,6 +14,12 @@ source="http://kernel.org/pub/software/network/crda/crda-3.18.tar.xz
01-Makefile-dont-run-ldconfig.patch"
builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ default_prepare || return 1
+ sed 's/-Werror//' -i $builddir/Makefile || return 1
+}
+
build() {
cd "$builddir"
make