Switch from -O2 to -O3 in the makefile (Issue 454)

Also see https://groups.google.com/d/msg/cryptopp-users/AEiGyjq15tw/GBAyDA6fBgAJ
This commit is contained in:
Jeffrey Walton 2017-08-04 18:31:52 -04:00
parent 860a9f4266
commit 18a05659f3
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -81,12 +81,12 @@ HAS_NEWLIB := $(shell $(CXX) -x c++ $(CXXFLAGS) -dM -E adhoc.cpp.proto 2>&1 | $(
# Base CXXFLAGS used if the user did not specify them
ifeq ($(SUN_COMPILER),1)
ifeq ($(SUNCC_512_OR_LATER),1)
CXXFLAGS ?= -DNDEBUG -g3 -xO2
CXXFLAGS ?= -DNDEBUG -g3 -xO3
else
CXXFLAGS ?= -DNDEBUG -g -xO2
CXXFLAGS ?= -DNDEBUG -g -xO3
endif
else
CXXFLAGS ?= -DNDEBUG -g2 -O2
CXXFLAGS ?= -DNDEBUG -g2 -O3
endif
# Default prefix for make install