29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
From b0b178fc293ad71c35d3ac84e8ac856bd0d3492b Mon Sep 17 00:00:00 2001
|
|
From: Dominique Martinet <asmadeus@codewreck.org>
|
|
Date: Fri, 2 Aug 2024 04:34:00 +0900
|
|
Subject: [PATCH] pahole: fix clang kernel build
|
|
|
|
This should fix clang builds for real this time
|
|
|
|
Reported-by: PedroHLC <root@pedrohlc.com>
|
|
---
|
|
pkgs/by-name/pa/pahole/package.nix | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/pkgs/by-name/pa/pahole/package.nix b/pkgs/by-name/pa/pahole/package.nix
|
|
index 14a31958c0e2c14..d82c76eb769c9ef 100644
|
|
--- a/pkgs/by-name/pa/pahole/package.nix
|
|
+++ b/pkgs/by-name/pa/pahole/package.nix
|
|
@@ -36,6 +36,11 @@ stdenv.mkDerivation rec {
|
|
url = "https://github.com/acmel/dwarves/commit/6a2b27c0f512619b0e7a769a18a0fb05bb3789a5.patch";
|
|
hash = "sha256-Le1BAew/a/QKkYNLgSQxEvZ9mEEglUw8URwz1kiheeE=";
|
|
})
|
|
+ (fetchpatch {
|
|
+ name = "fix-clang-btf-generation-bug-2.patch";
|
|
+ url = "https://github.com/acmel/dwarves/commit/94a01bde592c555b3eb526aeb4c2ad695c5660d8.patch";
|
|
+ hash = "sha256-SMIxLEBjBkprAqVNX1h7nXxAsgbwvCD/Bz7c1ekwg5w=";
|
|
+ })
|
|
];
|
|
|
|
# Put libraries in "lib" subdirectory, not top level of $out
|