diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2019-12-07 18:21:03 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2019-12-07 18:21:03 -0500 |
commit | 390f1e368cfdc5011e9eb9af76d2fb44cd8dc0b2 (patch) | |
tree | d299c8e4360a68038f575c16d8083275cb1046f0 /build.sh | |
parent | 9c44be7b25d61450808e918c14b8dfff49a78a8a (diff) |
fixed something weird going on with the tokenizer that might be a bug in clang
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -11,8 +11,10 @@ ADDITIONAL_FLAGS="$CFLAGS -Wno-unused-function" if [ "$CC" = "clang" ]; then WARNINGS='-Wall -Wextra -Wpedantic -Wshadow -Wconversion -Wimplicit-fallthrough' -else +elif [ "$CC" = "gcc" ]; then WARNINGS='-Wall -Wextra -Wpedantic -Wshadow -Wconversion -Wno-pointer-to-int-cast' +else + WARNINGS='' fi DEBUG_FLAGS="-O0 -g3 $WARNINGS -std=c11 -DTOC_DEBUG" |