From 11ed3c0981ea92d6399af1efe8065c770b15e81a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Fri, 4 Sep 2020 23:27:36 +0200 Subject: [PATCH] gdb: needs -fcommon for gcc10 --- srcpkgs/gdb/template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcpkgs/gdb/template b/srcpkgs/gdb/template index a9170869a9a..d335bb4a16f 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"