mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
gnu: perf: Properly detect libtraceevent.
* gnu/packages/linux.scm (perf)[arguments]: In ‘configure’ phase, modify ‘Makefile.config’ to leave ‘PKG_CONFIG_PATH’ unchanged. Change-Id: I7b6017200ed9b28c367182b252ef694f6b2ce73b
This commit is contained in:
parent
19e0b93785
commit
7a1b715d55
1 changed files with 7 additions and 0 deletions
|
@ -5239,6 +5239,13 @@ (define-public perf
|
|||
(setenv "SHELL_PATH" (which "bash"))
|
||||
(chdir "tools/perf")
|
||||
|
||||
;; In Linux 6.10.6, 'Makefile.config' overrides PKG_CONFIG_PATH
|
||||
;; when looking for libtraceevent and thus fails to find it.
|
||||
;; Remove that.
|
||||
(substitute* "Makefile.config"
|
||||
(("PKG_CONFIG_PATH=[[:graph:]]+")
|
||||
""))
|
||||
|
||||
;; This file hard-codes file system layouts for specific distros
|
||||
;; but not for ours; address that. With this change, one can run
|
||||
;; "perf report --symfs=$HOME/.guix-profile" (without
|
||||
|
|
Loading…
Reference in a new issue