Remove -Werror from default CFLAGS
Production builds shouldn't include -Werror by default since that could cause spurious build failures when there are toolchain updates. CI uses -Werror to prevent warnings, so that should be sufficient.
This commit is contained in:
parent
35a6052fbc
commit
545ef842de
3 changed files with 5 additions and 3 deletions
|
|
@ -28,7 +28,6 @@ fn main() {
|
|||
.flag_if_supported("-std=c99")
|
||||
.flag_if_supported("-fvisibility=hidden")
|
||||
.flag_if_supported("-Wshadow")
|
||||
.flag_if_supported("-Werror")
|
||||
.include(src_path)
|
||||
.include("include")
|
||||
.file(src_path.join("lib.c"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue