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
parent
205ebe0871
commit
aa348abd15
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue