summaryrefslogtreecommitdiff
path: root/cross/xtensa-unknown-elf-gcc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-11 01:38:47 -0700
committerroot <root@rshg054.dnsready.net>2013-07-11 01:38:47 -0700
commit2e85ee969c4be5762301fc1447315f132aca1fc8 (patch)
tree45ce2476a7dec9372c4d13a039237544ff6898d1 /cross/xtensa-unknown-elf-gcc
parentb509d58f0ff9d5b9167eb65b0264d014c8ac9d66 (diff)
Thu Jul 11 01:37:50 PDT 2013
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