mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
d354c891fb
New version brought in the --reproducible_build option, which is more efficient than forcing a single thread, and produces the same output (tested on linux kernel's vmlinux BTF extraction)
15 lines
393 B
Diff
15 lines
393 B
Diff
diff --git a/pahole.c b/pahole.c
|
|
index 954498d2ad4f..2b010658330c 100644
|
|
--- a/pahole.c
|
|
+++ b/pahole.c
|
|
@@ -3705,6 +3705,10 @@ int main(int argc, char *argv[])
|
|
goto out;
|
|
}
|
|
|
|
+ /* This being set means whoever called us tries to do a reproducible build */
|
|
+ if (getenv("SOURCE_DATE_EPOCH"))
|
|
+ conf_load.reproducible_build = true;
|
|
+
|
|
if (languages.str && parse_languages())
|
|
return rc;
|
|
|