Skip to content

Commit

Permalink
Compile with -Werror (treat warnings as errors)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukego committed Mar 20, 2017
1 parent 693909f commit b1bc13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ CC= $(DEFAULT_CC)
# to slow down the C part by not omitting it. Debugging, tracebacks and
# unwinding are not affected -- the assembler part has frame unwind
# information and GCC emits it where needed (x64) or with -g (see CCDEBUG).
CCOPT= -O2 -fomit-frame-pointer
CCOPT= -O2 -fomit-frame-pointer -Werror
# Use this if you want to generate a smaller binary (but it's slower):
#CCOPT= -Os -fomit-frame-pointer
# Note: it's no longer recommended to use -O3 with GCC 4.x.
Expand Down

0 comments on commit b1bc13b

Please sign in to comment.