summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-29 05:43:57 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-29 05:43:57 -0300
commit60b4c7e440c3b522586acd0d53125c7db0144950 (patch)
tree6cb4e8db99a67fbed982e3776f06adb9e9a665a4
parentde1b72b31d5d779033c03c5eb124e434c45b8d1c (diff)
downloadabslibre-60b4c7e440c3b522586acd0d53125c7db0144950.tar.gz
abslibre-60b4c7e440c3b522586acd0d53125c7db0144950.tar.bz2
abslibre-60b4c7e440c3b522586acd0d53125c7db0144950.zip
put more sed commands to disable build error
-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