Add -pedantic compiler flag

This commit is contained in:
Lassi Kortela 2019-08-10 01:53:31 +03:00
parent acc5c4c5e2
commit b027e7d2e5
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
set -eu
CFLAGS="-Wall -Wextra -Wno-strict-aliasing -std=gnu99"
CFLAGS="-Wall -Wextra -Wno-strict-aliasing -pedantic -std=gnu99"
CFLAGS="$CFLAGS -O2" # -falign-functions
CFLAGS="$CFLAGS -I ../c -D NDEBUG -D USE_COMPUTED_GOTO"
LFLAGS="-lm"