blob: c00a28c6e57e39c6133035cc807bbb7afafa34b0 [file] [log] [blame]
Nick Bofferdingf390b6f2019-10-08 11:55:42 -05001From 48c944978a8fea129b4fce39063386237881871b Mon Sep 17 00:00:00 2001
2From: Nick Bofferding <bofferdn@us.ibm.com>
3Date: Thu, 3 Oct 2019 14:36:31 -0500
4Subject: [PATCH] Workaround certain OCC errors for P10
5
6To allow P10 OCC code to compile, temporarily suppress errors for:
7 aggressive-loop-optimizations
8 unused-but-set-variable
9---
10 src/occ_405/occ_defs.mk | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/src/occ_405/occ_defs.mk b/src/occ_405/occ_defs.mk
14index c87c44a..fa06a42 100644
15--- a/src/occ_405/occ_defs.mk
16+++ b/src/occ_405/occ_defs.mk
17@@ -23,7 +23,7 @@
18 #
19 # IBM_PROLOG_END_TAG
20
21-GCC-CFLAGS += -Werror
22+GCC-CFLAGS += -Werror -Wno-error=aggressive-loop-optimizations -Wno-error=unused-but-set-variable
23
24 %.o: %.c
25 $(OBJDIR)/%.o: %.c
26--
271.8.2.2
28