Skip to content

Commit

Permalink
Build release with 02 and not Os
Browse files Browse the repository at this point in the history
Not only does Os not generate notably smaller code, it is also affected
by a compiler bug that is dodged by
O2 (adapteva/epiphany-sdk#53).
  • Loading branch information
margnus1 committed Jul 16, 2015
1 parent 6ee3571 commit d4ada37
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions erts/emulator/slave/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,6 @@ ifeq (@EMU_LOCK_CHECKING@,yes)
NO_INLINE_FUNCTIONS=true
endif

# Since we're memory limited, code size is of utmost importance for performance
OPT_LEVEL = -Os

ifeq ($(GCC),yes)
ifeq ($(NO_INLINE_FUNCTIONS),true)
GEN_OPT_FLGS = $(OPT_LEVEL) -fno-inline-functions
Expand Down

0 comments on commit d4ada37

Please sign in to comment.