diff options
Diffstat (limited to 'arch/powerpc/powerpc-Disable-attribute-alias-warnings-from-gcc8.patch')
-rw-r--r-- | arch/powerpc/powerpc-Disable-attribute-alias-warnings-from-gcc8.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/arch/powerpc/powerpc-Disable-attribute-alias-warnings-from-gcc8.patch b/arch/powerpc/powerpc-Disable-attribute-alias-warnings-from-gcc8.patch deleted file mode 100644 index 2e93b857..00000000 --- a/arch/powerpc/powerpc-Disable-attribute-alias-warnings-from-gcc8.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 59e401ffeda487d9b3bd092199ec9a98faf5abfe Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Fri, 4 May 2018 09:46:42 -0700 -Subject: [PATCH 1/2] powerpc: Disable attribute-alias warnings from gcc8 - -Fixes -alias between functions of incompatible types warnings -which are new with gcc8 - -Signed-off-by: Khem Raj <raj.khem@gmail.com> -Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ---- - arch/powerpc/kernel/Makefile | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile -index 1b6bc7fba996..7fab5ab9edc2 100644 ---- a/arch/powerpc/kernel/Makefile -+++ b/arch/powerpc/kernel/Makefile -@@ -3,7 +3,8 @@ - # Makefile for the linux kernel. - # - --CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' -+CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' $(call cc-disable-warning, attribute-alias) -+CFLAGS_syscalls.o += $(call cc-disable-warning, attribute-alias) - - subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror - --- -2.5.0 - |