diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-09-16 08:22:25 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-09-16 08:22:25 -0400 |
commit | 30d519c0bce8001c74e2bd234ebf7b9f7e35630a (patch) | |
tree | 6723f409afa87bc935249b8b4388fdfcf07b2aeb | |
parent | fc0867827e5547c628bb1d45b01efd1d7bd6a142 (diff) | |
download | cryptopp-git-30d519c0bce8001c74e2bd234ebf7b9f7e35630a.tar.gz |
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.
-rwxr-xr-x | GNUmakefile | 6 |
1 files 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 |