Skip to content

Commit

Permalink
Switch from -O2 to -O3 in the makefile (Issue 454)
Browse files Browse the repository at this point in the history
  • Loading branch information
noloader committed Aug 4, 2017
1 parent 860a9f4 commit 18a0565
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

1 comment on commit 18a0565

@noloader
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also see Issue 454.

Please sign in to comment.