gdb: needs -fcommon for gcc10
This commit is contained in:
parent
753b6ebe84
commit
11ed3c0981
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue