diff options
Diffstat (limited to 'extra/gdb/PKGBUILD')
-rw-r--r-- | extra/gdb/PKGBUILD | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/extra/gdb/PKGBUILD b/extra/gdb/PKGBUILD index 8fbd7bd1a..d4f3401d1 100644 --- a/extra/gdb/PKGBUILD +++ b/extra/gdb/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 172148 2012-11-30 04:20:34Z allan $ +# $Id: PKGBUILD 183696 2013-04-27 07:01:47Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: Jan de Groot <jgc@archlinux.org> pkgname=gdb -pkgver=7.5.1 -pkgrel=1.1 +pkgver=7.6 +pkgrel=1 pkgdesc="The GNU Debugger" arch=('i686' 'x86_64' 'mips64el') url="http://www.gnu.org/software/gdb/" @@ -15,8 +15,15 @@ backup=('etc/gdb/gdbinit') options=('!libtool') install=gdb.install source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2{,.sig}) -md5sums=('3f48f468b24447cf24820054ff6e85b1' - '31ab569c78a01d3f946c6fe0336175fe') +md5sums=('fda57170e4d11cdde74259ca575412a8' + 'SKIP') + +prepare() { + cd ${srcdir}/${pkgname}-${pkgver} + + # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS" + sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure +} build() { cd ${srcdir}/${pkgname}-${pkgver} |