diff options
Diffstat (limited to 'openpower/package/hostboot/0007-Disable-warnings-that-crop-up-a-lot-with-GCC6.patch')
-rw-r--r-- | openpower/package/hostboot/0007-Disable-warnings-that-crop-up-a-lot-with-GCC6.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/openpower/package/hostboot/0007-Disable-warnings-that-crop-up-a-lot-with-GCC6.patch b/openpower/package/hostboot/0007-Disable-warnings-that-crop-up-a-lot-with-GCC6.patch deleted file mode 100644 index e8def566..00000000 --- a/openpower/package/hostboot/0007-Disable-warnings-that-crop-up-a-lot-with-GCC6.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 6f008e0bfdfbc9256f18ea0939dfc11d23348675 Mon Sep 17 00:00:00 2001 -From: Stewart Smith <stewart@linux.vnet.ibm.com> -Date: Thu, 2 Mar 2017 16:15:25 +1100 -Subject: [PATCH] Disable warnings that crop up a lot with GCC6 - -NOTE: THIS IS A TERRIBLE IDEA - -Instead, Hostboot developers should go and fix their code. - -Change-Id: I3e1da9f61ff442e49f143f51ccfc3c7c018beb1f -Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> ---- - src/build/mkrules/cflags.env.mk | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -diff --git a/src/build/mkrules/cflags.env.mk b/src/build/mkrules/cflags.env.mk -index 6bb900288388..428de9326400 100644 ---- a/src/build/mkrules/cflags.env.mk -+++ b/src/build/mkrules/cflags.env.mk -@@ -5,7 +5,7 @@ - # - # OpenPOWER HostBoot Project - # --# Contributors Listed Below - COPYRIGHT 2013,2016 -+# Contributors Listed Below - COPYRIGHT 2013,2017 - # [+] Google Inc. - # [+] International Business Machines Corp. - # -@@ -40,11 +40,13 @@ endif - - COMMONFLAGS += $(OPT_LEVEL) -nostdlib - CFLAGS += $(COMMONFLAGS) -mcpu=power7 -nostdinc -g -mno-vsx -mno-altivec\ -- -Wall -Werror -mtraceback=no -pipe -mabi=elfv1 \ -+ -Wall -mtraceback=no -pipe -mabi=elfv1 \ -+ -Wno-error=sizeof-array-argument \ -+ -Wno-error=unused-function \ - -ffunction-sections -fdata-sections -ffreestanding -mbig-endian - ASMFLAGS += $(COMMONFLAGS) -mcpu=power7 -mbig-endian -ffreestanding -mabi=elfv1 - CXXFLAGS += $(CFLAGS) -nostdinc++ -fno-rtti -fno-exceptions -Wall \ -- -fuse-cxa-atexit -std=gnu++14 -+ -fuse-cxa-atexit -std=gnu++14 -fpermissive - LDFLAGS += --nostdlib --sort-common -EB $(COMMONFLAGS) - - INCFLAGS = $(addprefix -I, $(INCDIR) ) --- -2.9.4 - |