diff options
| author | 2026-09-30 22:41:19 -0700 | |
|---|---|---|
| committer | 2026-10-01 17:53:56 +0200 | |
| commit | 76e042d3e781841e283d81553f10a1987a852647 (patch) | |
| tree | 1dbc8e88872a7f402196c155a98fdbade9f4cec5 /scripts/Makefile.thinlto | |
| parent | perf build: Run shellcheck, mypy, and remaining pylint checks in parallel (diff) | |
perf build: Clear GTK4 instead of setting unused NO_GTK4 when gtk4 is missing
Commit 4751bddd3f983af2 ("perf tools: Make GTK2 support opt-in")
switched Makefile.config and Makefile.perf from checking 'ifndef
NO_GTK2' to 'ifdef GTK2' (now 'ifdef GTK4'), leaving 'NO_GTK4 := 1' in
Makefile.config unused.
As a result, when building with GTK4=1 on a system without gtk4
development headers, Makefile.perf still attempted to build and install
libperf-gtk.so under 'ifdef GTK4'.
Replace 'NO_GTK4 := 1' with 'override GTK4 :=' so that 'ifdef GTK4' in
Makefile.perf evaluates to false when the gtk4 feature check fails.
Fixes: 4751bddd3f983af2 ("perf tools: Make GTK2 support opt-in")
Assisted-by: Antigravity:gemini-3.1-pro
Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
