summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/linux-libre-firmware/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/libre/linux-libre-firmware/PKGBUILD b/libre/linux-libre-firmware/PKGBUILD
index 73d05ac86..34465d446 100644
--- a/libre/linux-libre-firmware/PKGBUILD
+++ b/libre/linux-libre-firmware/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer: André Silva <emulatorman@lavabit.com>
+ç# Maintainer: André Silva <emulatorman@lavabit.com>
# Contributor: Márcio Silva <coadde@lavabit.com>
pkgname=linux-libre-firmware
@@ -47,7 +47,11 @@ prepare() {
cd $srcdir/open-ath9k-htc-firmware
# disable build error
- sed 's|BINUTILS,|BINUTILS,\n\t\t--disable-werror,|' Makefile
+ sed -i 's|GMP,|GMP,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warning,|' Makefile
+ sed -i 's|MPFR,|MPFR,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warning,|' Makefile
+ sed -i 's|MPC,|MPC,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warning,|' Makefile
+ sed -i 's|BINUTILS,|BINUTILS,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warning,|' Makefile
+ sed -i 's|GCC,|GCC,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warning,|' Makefile
# prepare toolchain to compile ath9k-htc firmware
make toolchain