mcst-linux-kernel/patches-2024.06.26/nvme-cli-1.0/0003-Add-Wno-array-bounds.p...

22 lines
522 B
Diff

From 1aa01a401fcccbe17ee4f71dd5a24fa138df0dd6 Mon Sep 17 00:00:00 2001
Date: Tue, 24 Oct 2017 12:56:33 +0300
Subject: [PATCH] Add -Wno-array-bounds
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 117cbbe..8ce858a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CFLAGS += -std=gnu99 -O2 -g -Wall -Werror
+CFLAGS += -std=gnu99 -O2 -g -Wall -Werror -Wno-array-bounds
CPPFLAGS += -D_GNU_SOURCE -D__CHECK_ENDIAN__
NVME = nvme
INSTALL ?= install
--
2.16.4