summaryrefslogtreecommitdiff
path: root/0046-CFLAGS-add-Wno-pointer-sign.patch
diff options
context:
space:
mode:
Diffstat (limited to '0046-CFLAGS-add-Wno-pointer-sign.patch')
-rw-r--r--0046-CFLAGS-add-Wno-pointer-sign.patch23
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 \