From b027e7d2e55b4e1c36f369609b3ca8a6e9259996 Mon Sep 17 00:00:00 2001 From: Lassi Kortela Date: Sat, 10 Aug 2019 01:53:31 +0300 Subject: [PATCH] Add -pedantic compiler flag --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 09e90d3..a3f6250 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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"