Switch from -O2 to -O3 in the makefile (Issue 454)
Also see https://groups.google.com/d/msg/cryptopp-users/AEiGyjq15tw/GBAyDA6fBgAJpull/461/head
parent
860a9f4266
commit
18a05659f3
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue