Skip to content

Commit

Permalink
Use -Werror in release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin Howard committed Feb 2, 2019
1 parent 4e09b4f commit 6fe912a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ clang_flags="-Weverything -Wno-padded -Wno-switch-enum -Wno-format-nonliteral"
clang_flags="$clang_flags -Wno-cast-align -Wno-missing-noreturn -Wno-disabled-macro-expansion"
clang_flags="$clang_flags -Wno-unreachable-code -Wno-unreachable-code-return"

cflags="-Wall -Wextra -pedantic -std=c99"
cflags="-Wall -Wextra -Werror -pedantic -std=c99"

debug="$cflags -g -O0 -fno-omit-frame-pointer"
release="$cflags -DNDEBUG -O3"
Expand Down

0 comments on commit 6fe912a

Please sign in to comment.