depends: disable builtin rules and suffixes.
What changed, and why it matters
This commit changes the Bitcoin Core dependency build system to tell GNU make to stop searching for built-in pattern rules (like automatically trying to compile a .c file into an .o file). This is purely a performance and debugging cleanup: builds run slightly faster and 'make -d' output is much shorter. There is no security relevance.
No security action needed. Treat as a normal build-system hygiene improvement.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch adds MAKEFLAGS += –no-builtin-rules to depends/Makefile. This disables GNU make’s built-in suffix/pattern rules and suffixes for the dependency build. The depends build system defines all needed rules explicitly, so the built-in lookup is unnecessary. The change reduces make’s implicit-rule search space and shrinks debug output, but does not alter any build logic, compiler flags, source handling, or output artifacts.
Changed components
depends/MakefileInspect captured patch +2 / −0
diff --git a/depends/Makefile b/depends/Makefile
index ed54eac4..14069bc3 100644
--- a/depends/Makefile
+++ b/depends/Makefile
@@ -1,4 +1,6 @@
.NOTPARALLEL :
+# Disable builtin rules and suffixes.
+MAKEFLAGS += --no-builtin-rules
# Pattern rule to print variables, e.g. make print-top_srcdir
print-%: FORCE
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.