1 From f982a712979619dbae2c6e0d741757e2ce94be11 Mon Sep 17 00:00:00 2001
2 From: Bruce Rogers <brogers@suse.com>
3 Date: Wed, 6 May 2020 15:03:02 -0600
4 Subject: [PATCH] [build] Be explicit about -fcommon compiler directive
6 gcc10 switched default behavior from -fcommon to -fno-common. Since
7 "__shared" relies on the legacy behavior, explicitly specify it.
9 Signed-off-by: Bruce Rogers <brogers@suse.com>
10 Modified-by: Michael Brown <mcb30@ipxe.org>
11 Signed-off-by: Michael Brown <mcb30@ipxe.org>
13 src/Makefile.housekeeping | 1 +
14 1 file changed, 1 insertion(+)
16 diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
17 index 66d6dd449..b6c61c112 100644
18 --- a/src/Makefile.housekeeping
19 +++ b/src/Makefile.housekeeping
20 @@ -418,6 +418,7 @@ CFLAGS += -Os
23 CFLAGS += -ffreestanding
25 CFLAGS += -Wall -W -Wformat-nonliteral
26 HOST_CFLAGS += -Wall -W -Wformat-nonliteral