From 36f6bdc3a014378fb05250108d0fcdea54d9c4b6 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Thu, 29 Apr 2021 01:11:30 -0700 Subject: [PATCH] fusee/sept: update to suppress spurious gcc warnings --- fusee/fusee-mtc/Makefile | 3 +++ fusee/fusee-primary/Makefile | 3 +++ fusee/fusee-primary/fusee-primary-main/Makefile | 3 +++ fusee/fusee-secondary/Makefile | 3 +++ sept/sept-primary/Makefile | 3 +++ sept/sept-secondary/Makefile | 3 +++ sept/sept-secondary/key_derivation/Makefile | 3 +++ 7 files changed, 21 insertions(+) diff --git a/fusee/fusee-mtc/Makefile b/fusee/fusee-mtc/Makefile index 399733b10..f96fca1f8 100644 --- a/fusee/fusee-mtc/Makefile +++ b/fusee/fusee-mtc/Makefile @@ -46,6 +46,9 @@ CFLAGS := \ -std=gnu11 \ -Werror \ -Wall \ + -Wno-array-bounds \ + -Wno-stringop-overflow \ + -Wno-stringop-overread \ -fstrict-volatile-bitfields \ $(ARCH) $(DEFINES) diff --git a/fusee/fusee-primary/Makefile b/fusee/fusee-primary/Makefile index 7f99aae0b..8395aa47a 100644 --- a/fusee/fusee-primary/Makefile +++ b/fusee/fusee-primary/Makefile @@ -53,6 +53,9 @@ CFLAGS := \ -std=gnu11 \ -Werror \ -Wall \ + -Wno-array-bounds \ + -Wno-stringop-overflow \ + -Wno-stringop-overread \ -fstrict-volatile-bitfields \ $(ARCH) $(DEFINES) diff --git a/fusee/fusee-primary/fusee-primary-main/Makefile b/fusee/fusee-primary/fusee-primary-main/Makefile index c6232b259..333578442 100644 --- a/fusee/fusee-primary/fusee-primary-main/Makefile +++ b/fusee/fusee-primary/fusee-primary-main/Makefile @@ -46,6 +46,9 @@ CFLAGS := \ -std=gnu11 \ -Werror \ -Wall \ + -Wno-array-bounds \ + -Wno-stringop-overflow \ + -Wno-stringop-overread \ -fstrict-volatile-bitfields \ $(ARCH) $(DEFINES) diff --git a/fusee/fusee-secondary/Makefile b/fusee/fusee-secondary/Makefile index e75679e76..a4366726a 100644 --- a/fusee/fusee-secondary/Makefile +++ b/fusee/fusee-secondary/Makefile @@ -55,6 +55,9 @@ CFLAGS := \ -std=gnu11 \ -Werror \ -Wall \ + -Wno-array-bounds \ + -Wno-stringop-overflow \ + -Wno-stringop-overread \ -fstrict-volatile-bitfields \ $(ARCH) $(DEFINES) diff --git a/sept/sept-primary/Makefile b/sept/sept-primary/Makefile index 770cc081b..f074d1d9c 100644 --- a/sept/sept-primary/Makefile +++ b/sept/sept-primary/Makefile @@ -46,6 +46,9 @@ CFLAGS := \ -std=gnu11 \ -Werror \ -Wall \ + -Wno-array-bounds \ + -Wno-stringop-overflow \ + -Wno-stringop-overread \ -fstrict-volatile-bitfields \ $(ARCH) $(DEFINES) diff --git a/sept/sept-secondary/Makefile b/sept/sept-secondary/Makefile index 0dd9716b4..0785ad708 100644 --- a/sept/sept-secondary/Makefile +++ b/sept/sept-secondary/Makefile @@ -46,6 +46,9 @@ CFLAGS := \ -std=gnu11 \ -Werror \ -Wall \ + -Wno-array-bounds \ + -Wno-stringop-overflow \ + -Wno-stringop-overread \ -fstrict-volatile-bitfields \ $(ARCH) $(DEFINES) diff --git a/sept/sept-secondary/key_derivation/Makefile b/sept/sept-secondary/key_derivation/Makefile index 6939c5afc..15aeea814 100644 --- a/sept/sept-secondary/key_derivation/Makefile +++ b/sept/sept-secondary/key_derivation/Makefile @@ -37,6 +37,9 @@ CFLAGS := \ -std=gnu11 \ -Werror \ -Wall \ + -Wno-array-bounds \ + -Wno-stringop-overflow \ + -Wno-stringop-overread \ $(ARCH) $(DEFINES) CFLAGS += $(INCLUDE)