diff options
author | Bruce Rogers <brogers@suse.com> | 2020-05-06 15:03:02 -0600 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2020-06-27 21:16:07 +0100 |
commit | f982a712979619dbae2c6e0d741757e2ce94be11 (patch) | |
tree | 890fe6658ac58db8596ad02d0f82b177de7960cc /src | |
parent | 3f637d7462e7688638b4084717297db8638bdffb (diff) | |
download | ipxe-f982a712979619dbae2c6e0d741757e2ce94be11.tar.gz |
[build] Be explicit about -fcommon compiler directive
gcc10 switched default behavior from -fcommon to -fno-common. Since
"__shared" relies on the legacy behavior, explicitly specify it.
Signed-off-by: Bruce Rogers <brogers@suse.com>
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.housekeeping | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 66d6dd449..b6c61c112 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -418,6 +418,7 @@ CFLAGS += -Os CFLAGS += -g ifeq ($(CCTYPE),gcc) CFLAGS += -ffreestanding +CFLAGS += -fcommon CFLAGS += -Wall -W -Wformat-nonliteral HOST_CFLAGS += -Wall -W -Wformat-nonliteral endif |