diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-01-08 11:19:37 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-01-08 11:19:37 -0500 |
commit | 71c7686269a7e854ec5672e1848f6ee39167884c (patch) | |
tree | 799a22d8621691ef73a0c66d482761d85c9fbb9e /build.sh | |
parent | fea7cb867ec193f2af3a8f61fc8d14c97b85ba83 (diff) |
more importing (also turns out export is a keyword in c++)
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -10,9 +10,13 @@ fi ADDITIONAL_FLAGS="$CFLAGS -Wno-unused-function" if [ "$CC" = "clang" ]; then - WARNINGS='-Wall -Wextra -Wpedantic -Wshadow -Wconversion -Wimplicit-fallthrough' + WARNINGS='-Wall -Wextra -Wpedantic -Wshadow -Wconversion -Wimplicit-fallthrough -Wno-missing-braces' elif [ "$CC" = "gcc" ]; then WARNINGS='-Wall -Wextra -Wpedantic -Wshadow -Wconversion -Wno-pointer-to-int-cast' +elif [ "$CC" = "tcc" ]; then + WARNINGS='-w' +elif [ "$CC" = "g++" ]; then + WARNINGS='-w -fpermissive' else WARNINGS='' fi |