summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-09-16 05:55:37 -0400
committerJeffrey Walton <noloader@gmail.com>2017-09-16 05:55:37 -0400
commit4670e3d5bce96c1a6105e2d4092b3d38c0e92893 (patch)
treeff29478460be5a8798968b8d2396c79a00b40fc1
parentaa348abd15323e20a7ae40e4c312ff20bbf562cb (diff)
downloadcryptopp-git-4670e3d5bce96c1a6105e2d4092b3d38c0e92893.tar.gz
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.
-rwxr-xr-xGNUmakefile6
1 files 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