From 2375678eefe52db25604dc63409370a4964beb66 Mon Sep 17 00:00:00 2001 From: Robin Jones Date: Tue, 4 Mar 2025 00:29:12 +0000 Subject: [PATCH] [develop] Update miniz submodule (#224) ## Description Update miniz submodule but uses `-Wno-unused-function` as a work around for warnings (probably a better way), ## Motivation and Context Update miniz submodule ## How Has This Been Tested? ## Screenshots ## Types of changes - [ ] Improvement (non-breaking change that adds a new feature) - [ ] Bug fix (fixes an issue) - [ ] Breaking change (breaking change) - [ ] Documentation Improvement - [x] Config and build (change in the configuration and build system, has no impact on code or features) ## Checklist: - [ ] My code follows the code style of this project. - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. - [ ] I have added tests to cover my changes. - [ ] All new and existing tests passed. Signed-off-by: GITHUB_USER ## Summary by CodeRabbit - **Chores** - Refined the build configuration to better manage compiler warnings. - Updated an external library dependency to its latest version. --- Makefile | 2 +- src/libs/miniz | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 67ce3a77..da3579fa 100644 --- a/Makefile +++ b/Makefile @@ -99,7 +99,7 @@ FILESYSTEM = \ $(addprefix $(FILESYSTEM_DIR)/, $(notdir $(SOUNDS:%.wav=%.wav64))) \ $(addprefix $(FILESYSTEM_DIR)/, $(notdir $(IMAGES:%.png=%.sprite))) -$(MINIZ_OBJS): N64_CFLAGS+=-DMINIZ_NO_TIME -fcompare-debug-second +$(MINIZ_OBJS): N64_CFLAGS+=-DMINIZ_NO_TIME -Wno-unused-function -fcompare-debug-second $(SPNG_OBJS): N64_CFLAGS+=-isystem $(SOURCE_DIR)/libs/miniz -DSPNG_USE_MINIZ -fcompare-debug-second $(FILESYSTEM_DIR)/FiraMonoBold.font64: MKFONT_FLAGS+=--compress 1 --outline 1 --size 16 --range 20-7F --range 80-1FF --range 2026-2026 --ellipsis 2026,1 $(FILESYSTEM_DIR)/%.wav64: AUDIOCONV_FLAGS=--wav-compress 1 diff --git a/src/libs/miniz b/src/libs/miniz index 0f4cbb8c..0c30a001 160000 --- a/src/libs/miniz +++ b/src/libs/miniz @@ -1 +1 @@ -Subproject commit 0f4cbb8c27a5dc48967e5a7d3b68f8666d8f96d4 +Subproject commit 0c30a001bc3c70770a8742ff00899e662f040c75