diff --git a/srcpkgs/gdb/template b/srcpkgs/gdb/template index a9170869a9..d335bb4a16 100644 --- a/srcpkgs/gdb/template +++ b/srcpkgs/gdb/template @@ -25,6 +25,8 @@ if [ "${CROSS_BUILD}" ]; then CFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}" CXXFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}" fi +CFLAGS+=" -fcommon" +CXXFLAGS+=" -fcommon" # Package build options build_options="gdbserver static python" desc_option_gdbserver="Enable support for building GDB server"