From c59355e1a1b50764f7d898cedb8f5db7ce3959b3 Mon Sep 17 00:00:00 2001 From: mortimer Date: Thu, 28 Jan 2021 01:36:32 +0000 Subject: [PATCH] Explicitly enable -fcommon, rather than untangle common symbols. ok deraadt@ --- gnu/usr.bin/binutils/gdb/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/usr.bin/binutils/gdb/Makefile.in b/gnu/usr.bin/binutils/gdb/Makefile.in index 6c20f4c4755..548c0450435 100644 --- a/gnu/usr.bin/binutils/gdb/Makefile.in +++ b/gnu/usr.bin/binutils/gdb/Makefile.in @@ -328,7 +328,8 @@ CONFIG_UNINSTALL = # your system doesn't have fcntl.h in /usr/include (which is where it # should be according to Posix). DEFS = @DEFS@ -GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config -DLOCALEDIR="\"$(localedir)\"" $(DEFS) +GDB_CFLAGS = -fcommon -I. -I$(srcdir) -I$(srcdir)/config \ + -DLOCALEDIR="\"$(localedir)\"" $(DEFS) # M{H,T}_CFLAGS, if defined, have host- and target-dependent CFLAGS # from the config directory. -- 2.20.1