From 4670e3d5bce96c1a6105e2d4092b3d38c0e92893 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 16 Sep 2017 05:55:37 -0400 Subject: [PATCH] Revert "Use -O3 for IBM XL C/C++ (GH #502)" This reverts commit aa348abd15323e. It caused a hang in the TEA algorithm. Also see GH #503. --- GNUmakefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 4dfd11c1..1882b6fd 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