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.
pull/507/head
Jeffrey Walton 2017-09-16 02:19:06 -04:00
parent 205ebe0871
commit aa348abd15
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 3 additions and 3 deletions

View File

@ -379,9 +379,9 @@ ifeq ($(XLC_COMPILER),1)
CXXFLAGS := $(CXXFLAGS:-fPIC=-qpic) CXXFLAGS := $(CXXFLAGS:-fPIC=-qpic)
endif endif
# Warnings and intermittent failures on early IBM XL C/C++ # Warnings and intermittent failures on early IBM XL C/C++
ifneq ($(findstring -O3,$(CXXFLAGS)),) #ifneq ($(findstring -O3,$(CXXFLAGS)),)
CXXFLAGS := $(CXXFLAGS:-O3=-O2) # CXXFLAGS := $(CXXFLAGS:-O3=-O2)
endif #endif
endif endif
endif # IS_X86 endif # IS_X86