diff --git a/srcpkgs/gdb/template b/srcpkgs/gdb/template index 2332dd100c3..1c437bf8f2c 100644 --- a/srcpkgs/gdb/template +++ b/srcpkgs/gdb/template @@ -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"