Add -Wall,-Werror compiler flags
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user