Add -Wall,-Werror compiler flags

This commit is contained in:
2022-11-16 23:01:50 -05:00
parent d2c59352bb
commit c67d4f4583
7 changed files with 15 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ test_lib_includes = ["third-party/unity/src/"]
VariantDir(variant_dir, ".", duplicate=0)
# Minimization flags for later:
# CCFLAGS = ["-Oz", "-flto", "-ffunction-sections", "-fdata-sections", "-Wl,--gc-sections", "-lreadline"]
CCFLAGS = ["-ggdb", "-O0"]
CCFLAGS = ["-ggdb", "-O0", "-Werror", "-Wall"]
env = Environment(
CPPPATH=lib_includes, COMPILATIONDB_USE_ABSPATH=True, CCFLAGS=CCFLAGS
)