gdb: fix cross builds

This commit is contained in:
Michael Gehring 2016-10-10 09:24:40 +02:00
parent 8b133e6ab8
commit 3f581d37f9

View file

@ -22,6 +22,7 @@ disable_parallel_build=yes
if [ "${CROSS_BUILD}" ]; then
# Make python2.7 detection work in cross builds
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/python2.7"
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/python2.7"
fi
# Package build options
build_options="gdbserver static python"