Skip to content

Commit

Permalink
Remove WARNINGS_AS_ERRORS
Browse files Browse the repository at this point in the history
It's already implied by the gitdev feature.
  • Loading branch information
glandium committed Oct 3, 2024
1 parent fbf4cae commit 16ba6f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions CI/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,7 @@ def prefix(p, s):
head = None
desc_variant = variant
extra_commands = []
environ = {
"WARNINGS_AS_ERRORS": "1",
}
environ = {}
cargo_flags = ["-vv", "--release"]
cargo_features = ["self-update", "gitdev", "xz2/static", "bzip2/static"]
rust_version = None
Expand Down
4 changes: 1 addition & 3 deletions src/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ ALL_CFLAGS := $(filter-out -DPRECOMPOSE_UNICODE,$(ALL_CFLAGS))
ifdef MINGW_WRAPPERS
ALL_CFLAGS += -I$(SOURCE_DIR)/src/mingw
endif
ifdef WARNINGS_AS_ERRORS
ALL_CFLAGS += -Werror
else
ifndef DEVELOPER
ALL_CFLAGS += -Werror=implicit-function-declaration
endif

Expand Down

0 comments on commit 16ba6f2

Please sign in to comment.