Re: [Non-DoD Source] [PATCH userspace v2 4/4] Makefile: always build with -fno-common

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/23/20 7:57 AM, Ondrej Mosnacek wrote:
GCC 10 has it enabled by default and everything now builds OK with it,
so add it to CFLAGS to avoid breaking the build in the future.

Signed-off-by: Ondrej Mosnacek <omosnace@xxxxxxxxxx>

For all four patches,

Acked-by: James Carter <jwcart2@xxxxxxxxxxxxx>

---
  Makefile | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index c238dbc8..298cd2b7 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,8 @@ else
  		-Wstrict-prototypes \
  		-Wundef \
  		-Wunused \
-		-Wwrite-strings
+		-Wwrite-strings \
+		-fno-common
  endif
ifneq ($(DESTDIR),)



--
James Carter <jwcart2@xxxxxxxxxxxxx>
National Security Agency



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux