From aa348abd15323e20a7ae40e4c312ff20bbf562cb Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 16 Sep 2017 02:19:06 -0400 Subject: [PATCH] Use -O3 for IBM XL C/C++ (GH #502) We held back XL C/C++ due to warnings and self test failures. Since clearing Issue 502, we are OK for -O3 so we can live with the warnings. --- GNUmakefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 1882b6fd..4dfd11c1 100755 --- a/GNUmakefile +++ b/GNUmakefile @@ -379,9 +379,9 @@ ifeq ($(XLC_COMPILER),1) CXXFLAGS := $(CXXFLAGS:-fPIC=-qpic) endif # Warnings and intermittent failures on early IBM XL C/C++ - ifneq ($(findstring -O3,$(CXXFLAGS)),) - CXXFLAGS := $(CXXFLAGS:-O3=-O2) - endif + #ifneq ($(findstring -O3,$(CXXFLAGS)),) + # CXXFLAGS := $(CXXFLAGS:-O3=-O2) + #endif endif endif # IS_X86