From 64a1be29a5d22a92b1830144fedfdf8884a2b20d Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 5 Aug 2024 02:16:15 +0000 Subject: automatic import of gnu-efi --- 0046-CFLAGS-add-Wno-pointer-sign.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 0046-CFLAGS-add-Wno-pointer-sign.patch (limited to '0046-CFLAGS-add-Wno-pointer-sign.patch') diff --git a/0046-CFLAGS-add-Wno-pointer-sign.patch b/0046-CFLAGS-add-Wno-pointer-sign.patch new file mode 100644 index 0000000..a74b95b --- /dev/null +++ b/0046-CFLAGS-add-Wno-pointer-sign.patch @@ -0,0 +1,23 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Peter Jones +Date: Tue, 21 Jan 2020 15:05:19 -0500 +Subject: [PATCH] CFLAGS: add -Wno-pointer-sign + +Signed-off-by: Peter Jones +--- + Make.defaults | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Make.defaults b/Make.defaults +index de88bcd0231..cc8beec4600 100755 +--- a/Make.defaults ++++ b/Make.defaults +@@ -203,7 +203,7 @@ CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \ + -fshort-wchar -fno-strict-aliasing \ + -ffreestanding -fno-stack-protector + else +-CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \ ++CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror \ + -fshort-wchar -fno-strict-aliasing \ + -ffreestanding -fno-stack-protector -fno-stack-check \ + -fno-stack-check \ -- cgit v1.2.3