summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authormortimer <mortimer@cvs.openbsd.org>2021-01-28 01:36:33 +0000
committermortimer <mortimer@cvs.openbsd.org>2021-01-28 01:36:33 +0000
commit08360d5b042aeb8b9cead820c05e0860952ae9a7 (patch)
tree89227e67e6cf206985dc992476497c83a468782e /gnu
parent5cbdc74ec67b3e7f66e8bc8256befc7c488d572b (diff)
Explicitly enable -fcommon, rather than untangle common symbols.
ok deraadt@
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/gdb/Makefile.in3
1 files changed, 2 insertions, 1 deletions
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.