This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit e44308255c7495f8077e751e89ede579d52328df
Author: zhengyu16 <[email protected]>
AuthorDate: Mon Jan 26 11:38:12 2026 +0800

    system/libarchive: add UTILS_LIBARCHIVE_MAC_EXTENSIONS
    
    Disabling it saves 1.38K under LTO.
    
    Signed-off-by: zhengyu16 <[email protected]>
    Signed-off-by: tengshuangshuang <[email protected]>
---
 system/libarchive/Kconfig | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/system/libarchive/Kconfig b/system/libarchive/Kconfig
index ce2dadfca..7ed23ac51 100644
--- a/system/libarchive/Kconfig
+++ b/system/libarchive/Kconfig
@@ -40,6 +40,15 @@ config UTILS_LIBARCHIVE_WINDOWS_PATH_SUPPORT
                in ZIP archives. When disabled, only forward slash separators
                are supported.
 
+config UTILS_LIBARCHIVE_MAC_EXTENSIONS
+       bool "Enable macOS ZIP extensions support"
+       default n
+       ---help---
+               Enable support for macOS-specific ZIP features including:
+               - __MACOSX resource fork handling
+               - Apple metadata and extended attributes
+               - HFS+ filesystem compatibility
+
 config UTILS_LIBARCHIVE_BSDUNZIP
        bool "Enable bsdunzip"
        depends on LIB_ZLIB

Reply via email to