Kill some warnings.
Some checks failed
Build Tilde Friends / Build-All (push) Failing after 3m41s

This commit is contained in:
Cory McWilliams 2024-08-25 10:07:44 -04:00
parent 011670c70b
commit 5951d7cd2d

View File

@ -55,6 +55,7 @@ CFLAGS += \
-Wall \
-Wextra \
-Wno-unused-parameter \
-Wno-unknown-warning-option \
-MMD \
-MP \
-ffunction-sections \
@ -502,6 +503,7 @@ $(UV_OBJS): CFLAGS += \
-Wno-unused-result \
-Wno-unused-variable
$(UV_OBJS): CFLAGS := $(filter-out -flto,$(CFLAGS))
$(filter out/win%,$(UV_OBJS)): CFLAGS += -Wno-cast-function-type
ifeq ($(UNAME_S),Linux)
$(UV_OBJS): CFLAGS += \
-D_GNU_SOURCE
@ -577,6 +579,7 @@ ifneq ($(UNAME_S),OpenBSD)
$(filter-out $(BUILD_DIR)/win%,$(SODIUM_OBJS)): CFLAGS += \
-DHAVE_ALLOCA_H
endif
$(SODIUM_OBJS): CFLAGS := $(filter-out -flto,$(CFLAGS))
SQLITE_SOURCES := deps/sqlite/sqlite3.c
SQLITE_OBJS := $(call get_objs,SQLITE_SOURCES)