Merge pull request #719 from ypsu/master

Build glibc with unwind tables
This commit is contained in:
Kevin Mihelich 2014-02-15 17:20:43 -07:00
commit 55aae2f80a

View file

@ -71,6 +71,9 @@ build() {
CFLAGS=${CFLAGS/-fstack-protector/}
CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/}
# enable unwinding tables so that gdb can unwind the standard functions
CFLAGS+=" -funwind-tables"
${srcdir}/${pkgname}-${pkgver}/configure --prefix=/usr \
--libdir=/usr/lib --libexecdir=/usr/lib \
--with-headers=/usr/include \