gdb: needs -fcommon for gcc10
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user