From 3f581d37f99e66506d9bf38f96a64640da148afd Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Mon, 10 Oct 2016 09:24:40 +0200 Subject: [PATCH] gdb: fix cross builds --- srcpkgs/gdb/template | 1 + 1 file changed, 1 insertion(+) 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"