diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-22 20:01:02 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-22 20:01:02 -0300 |
commit | 83beece65086aa69e8444aaff7b832cf6bb9d3da (patch) | |
tree | 0160103696431398a83be3b7e3c104e20fc9a628 /libre/ath9k-htc-firmware/PKGBUILD | |
parent | 7cee998532a32b5eb39deb4a6059ecd8fc295f17 (diff) | |
download | abslibre-83beece65086aa69e8444aaff7b832cf6bb9d3da.tar.gz abslibre-83beece65086aa69e8444aaff7b832cf6bb9d3da.tar.bz2 abslibre-83beece65086aa69e8444aaff7b832cf6bb9d3da.zip |
rebuild ath9k-htc-firmware
Diffstat (limited to 'libre/ath9k-htc-firmware/PKGBUILD')
-rw-r--r-- | libre/ath9k-htc-firmware/PKGBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libre/ath9k-htc-firmware/PKGBUILD b/libre/ath9k-htc-firmware/PKGBUILD index a49ecd126..61b4f0368 100644 --- a/libre/ath9k-htc-firmware/PKGBUILD +++ b/libre/ath9k-htc-firmware/PKGBUILD @@ -3,7 +3,7 @@ pkgname=ath9k-htc-firmware pkgver=1.3.2 -pkgrel=6 +pkgrel=8 pkgdesc='Free firmware files for the Qualcomm Atheros AR7010 and AR9271 USB 802.11n NICs' arch=('any') url=('http://wireless.kernel.org/en/users/Drivers/ath9k_htc') @@ -19,6 +19,8 @@ prepare() { cd $srcdir/open-ath9k-htc-firmware-$pkgver/target_firmware mkdir -p build/{k2,magpie} + # fix gcc 4.8 aggressive loop optimizations "-faggressive-loop-optimizations" + #sed -i '\|mPhyCtrlState.validPhyRateIndex| s|= 0|= 0|' wlan/ratectrl_11n_ln.c } build() { @@ -26,7 +28,7 @@ build() { cd $srcdir/open-ath9k-htc-firmware-$pkgver export CTARGET="xtensa-unknown-elf" - export CFLAGS="-mtext-section-literals -O2 -pipe --param=ssp-buffer-size=4" + export CFLAGS="-mtext-section-literals -O2 -pipe --param=ssp-buffer-size=4 -fno-aggressive-loop-optimizations" export CXXFLAGS="${CFLAGS}" cat > target_firmware/build/toolchain.cmake <<EOF |