What changed, and why it matters
This commit adjusts the macOS build configuration for Feather Wallet. It disables a Qt feature called 'compiler predefined macros' when building a static binary on Apple systems. There is no indication this change fixes a security vulnerability; it appears to be a routine build fix.
No security action required. Treat as a normal build/maintenance commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch adds a conditional CMake setting: when STATIC and APPLE are both true, CMAKE_AUTOMOC_COMPILER_PREDEFINES is set to OFF. AUTOMOC is Qt’s automatic Meta-Object Compiler invocation. Disabling compiler predefined macros in this context is a known workaround for build issues on macOS with static Qt builds, often related to moc parsing system headers or compiler-specific defines. The change is purely build-system related and does not alter application logic, network behavior, cryptography, or file handling.
Changed components
src/CMakeLists.txtInspect captured patch +3 / −0
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 8364655..1ad529c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,6 +1,9 @@
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
+IF(STATIC AND APPLE)
+ set(CMAKE_AUTOMOC_COMPILER_PREDEFINES OFF)
+ENDIF()
set(QT_COMPONENTS
Core
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.