diff --git a/Makefile b/Makefile index 1983303..a6b1f0b 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ asan: msan: make -rRf make/msan.mk all -validate: asan msan debug +validate: asan msan debug release ./validate.sh analyze: diff --git a/make/release.mk b/make/release.mk index 606940c..d58017b 100644 --- a/make/release.mk +++ b/make/release.mk @@ -1,4 +1,4 @@ -CFLAGS?=-Wall -Wextra -Wpedantic -O2 -std=c23 -flto -fomit-frame-pointer -DNDEBUG -D_POSIX_C_SOURCE=200809L +CFLAGS?=-Wall -Wextra -Wpedantic -Werror -O2 -std=c23 -flto -fomit-frame-pointer -DNDEBUG -D_POSIX_C_SOURCE=200809L LDFLAGS?=-flto -s -Wl,--gc-sections BUILD_DIR?=build/release/