diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-05 02:16:15 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-05 02:16:15 +0000 |
commit | 64a1be29a5d22a92b1830144fedfdf8884a2b20d (patch) | |
tree | 27f8b13b5d4fb5359c31c7c1ff60a9563cd8361d /0046-CFLAGS-add-Wno-pointer-sign.patch | |
parent | 453c495bceb89952108be7452da3d072d3336eab (diff) |
automatic import of gnu-efiopeneuler24.03_LTS
Diffstat (limited to '0046-CFLAGS-add-Wno-pointer-sign.patch')
-rw-r--r-- | 0046-CFLAGS-add-Wno-pointer-sign.patch | 23 |
1 files changed, 23 insertions, 0 deletions
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 <pjones@redhat.com> +Date: Tue, 21 Jan 2020 15:05:19 -0500 +Subject: [PATCH] CFLAGS: add -Wno-pointer-sign + +Signed-off-by: Peter Jones <pjones@redhat.com> +--- + 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 \ |