gdb: needs -fcommon for gcc10

This commit is contained in:
Jürgen Buchmüller 2020-09-04 23:27:36 +02:00
parent 753b6ebe84
commit 11ed3c0981

View file

@ -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"