gdb: fix gcc7 build

This commit is contained in:
Jürgen Buchmüller 2017-08-22 09:23:03 +02:00
parent fb541ea130
commit 88985994c7

View file

@ -17,6 +17,9 @@ license="GPL-3"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=f6a24ffe4917e67014ef9273eb8b547cb96a13e5ca74895b06d683b391f3f4ee
CFLAGS="-D_GLIBCXX_USE_C99_STDIO=1"
CXXFLAGS="$CFLAGS"
if [ "${CROSS_BUILD}" ]; then
# Make python2.7 detection work in cross builds
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/python2.7"