summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authormortimer <mortimer@openbsd.org>2021-01-28 01:36:32 +0000
committermortimer <mortimer@openbsd.org>2021-01-28 01:36:32 +0000
commitc59355e1a1b50764f7d898cedb8f5db7ce3959b3 (patch)
tree66d7be8dcaebe03f65cfdc643a36e89b8c2093af /gnu
parentExtern privsep_process. Fixes compilation with -fno-common. (diff)
downloadwireguard-openbsd-c59355e1a1b50764f7d898cedb8f5db7ce3959b3.tar.xz
wireguard-openbsd-c59355e1a1b50764f7d898cedb8f5db7ce3959b3.zip
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.