summaryrefslogtreecommitdiff
path: root/cross/xtensa-unknown-elf-gcc
diff options
context:
space:
mode:
Diffstat (limited to 'cross/xtensa-unknown-elf-gcc')
-rw-r--r--cross/xtensa-unknown-elf-gcc/PKGBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/cross/xtensa-unknown-elf-gcc/PKGBUILD b/cross/xtensa-unknown-elf-gcc/PKGBUILD
index 270dc6299..76328723c 100644
--- a/cross/xtensa-unknown-elf-gcc/PKGBUILD
+++ b/cross/xtensa-unknown-elf-gcc/PKGBUILD
@@ -7,9 +7,9 @@ _pkgname=gcc
_target="xtensa-unknown-elf"
_sysroot="/usr/$CHOST/${_target}"
-pkgname=${_target}-gcc
+pkgname=${_target}-${_pkgname}
pkgver=4.8.1
-pkgrel=1.2
+pkgrel=1.3
pkgdesc="The GNU Compiler Collection for the Xtensa architecture"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -17,14 +17,20 @@ url="http://gcc.gnu.org"
makedepends=("${_target}-binutils>=2.23" 'libmpc' 'cloog' 'gcc-ada' 'doxygen')
checkdepends=('dejagnu' 'inetutils')
options=('!libtool' '!emptydirs')
-source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2)
-md5sums=('3b2386c114cd74185aa3754b58a79304')
+source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2
+ https://raw.github.com/qca/open-ath9k-htc-firmware/1.3.2/local/patches/gcc.patch)
+
+md5sums=('3b2386c114cd74185aa3754b58a79304'
+ '81372ee980289a9f6df01dad31c64a63')
_basedir=gcc-${pkgver}
prepare() {
cd ${srcdir}/${_basedir}
+ # open-ath9k-htc-firmware patch
+ patch -p1 -i ${srcdir}/gcc.patch
+
# Do not run fixincludes
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in