| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | --- 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; | ||||