Add -pedantic compiler flag
This commit is contained in:
parent
acc5c4c5e2
commit
b027e7d2e5
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -eu
|
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 -O2" # -falign-functions
|
||||||
CFLAGS="$CFLAGS -I ../c -D NDEBUG -D USE_COMPUTED_GOTO"
|
CFLAGS="$CFLAGS -I ../c -D NDEBUG -D USE_COMPUTED_GOTO"
|
||||||
LFLAGS="-lm"
|
LFLAGS="-lm"
|
||||||
|
|
Loading…
Reference in New Issue