summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 4c26cc7..6e1628c 100755
--- a/build.sh
+++ b/build.sh
@@ -16,9 +16,9 @@ ADDITIONAL_FLAGS="$CFLAGS -Wno-unused-function"
if [ "$CC" = "clang" ]; then
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'
+ WARNINGS='-Wall -Wextra -Wpedantic -Wshadow -Wconversion'
elif [ "$CC" = "tcc" ]; then
- WARNINGS='-w'
+ WARNINGS='-Wall'
elif [ "$CC" = "g++" ]; then
WARNINGS='-w -fpermissive'
else