diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD index 8b0d20a5b..84b46255a 100644 --- a/core/glibc/PKGBUILD +++ b/core/glibc/PKGBUILD @@ -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 \