blob: d8cbd114c61e4852f0e4457bbb97827711334957 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- a/pahole.c
2+++ b/pahole.c
3@@ -3681,6 +3681,9 @@ int main(int argc, char *argv[])
4 goto out;
5 }
6
7+ if (getenv("SOURCE_DATE_EPOCH") || getenv("KBUILD_BUILD_TIMESTAMP"))
8+ conf_load.reproducible_build = true;
9+
10 if (dwarves__init()) {
11 fputs("pahole: insufficient memory\n", stderr);
12 goto out;