Revert "Use -O3 for IBM XL C/C++ (GH #502)"

This reverts commit aa348abd15. It caused a hang in the TEA algorithm. Also see GH #503.
pull/507/head
Jeffrey Walton 2017-09-16 05:55:37 -04:00
parent aa348abd15
commit 4670e3d5bc
1 changed files with 3 additions and 3 deletions

View File

@ -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