diff options
Diffstat (limited to 'libre')
-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 |