mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #5864] [MERGED] build: disable all built-in implicit make rules #5699
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#5699
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/5864
Author: @kmk3
Created: 6/20/2023
Status: ✅ Merged
Merged: 6/21/2023
Merged by: @kmk3
Base:
master← Head:build-reduce-implicit📝 Commits (3)
6ece8cebuild: standardize commands on top of makefilesd4be8e5build: disable most built-in implicit make rules9789c26build: disable all built-in implicit make rules📊 Changes
30 files changed (+99 additions, -6 deletions)
View changed files
📝
Makefile(+3 -0)📝
src/bash_completion/Makefile(+5 -2)📝
src/etc-cleanup/Makefile(+3 -0)📝
src/fbuilder/Makefile(+3 -0)📝
src/fcopy/Makefile(+3 -0)📝
src/fids/Makefile(+3 -0)📝
src/firecfg/Makefile(+3 -0)📝
src/firejail/Makefile(+3 -0)📝
src/firemon/Makefile(+3 -0)📝
src/fldd/Makefile(+3 -0)📝
src/fnet/Makefile(+3 -0)📝
src/fnetfilter/Makefile(+3 -0)📝
src/fnettrace-dns/Makefile(+3 -0)📝
src/fnettrace-icmp/Makefile(+3 -0)📝
src/fnettrace-sni/Makefile(+3 -0)📝
src/fnettrace/Makefile(+3 -0)📝
src/fsec-optimize/Makefile(+3 -0)📝
src/fsec-print/Makefile(+3 -0)📝
src/fseccomp/Makefile(+3 -0)📝
src/ftee/Makefile(+3 -0)...and 10 more files
📄 Description
To reduce unnecessary filesystem lookups.
Overall, this appears to reduce the amount of implicit rule searches by ~97.5%
for the default build and by ~99.3% for the "man" target (as an example):
Environment: GNU make 4.4.1-2 on Artix Linux.
Note: According to make(1p) in POSIX.1-2017, "If .SUFFIXES does not have
any prerequisites, the list of known suffixes shall be cleared.", while
"The result of setting MAKEFLAGS in the Makefile is unspecified."
See also commit
f48886f25("build: mark most phony targets as such",2023-02-01) / PR #5637.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.