summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/linux-libre-firmware/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/libre/linux-libre-firmware/PKGBUILD b/libre/linux-libre-firmware/PKGBUILD
index 34465d446..4b46592d0 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,11 +47,12 @@ prepare() {
cd $srcdir/open-ath9k-htc-firmware
# disable build error
- 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
+ sed -i 's|GMP,|GMP,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warnings,|;
+ s|MPFR,|MPFR,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warnings,|;
+ s|MPC,|MPC,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warnings,|;
+ s|BINUTILS,|BINUTILS,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warnings,|;
+ s|GCC,|GCC,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warnings,|;
+ ' Makefile
# prepare toolchain to compile ath9k-htc firmware
make toolchain