gdb: fix gcc7 build
This commit is contained in:
parent
fb541ea130
commit
88985994c7
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue