1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-15 04:42:02 +00:00
openmptcprouter/common/tools/dwarves/patches/100-reproducible-builds.patch
2025-01-09 11:35:36 +01:00

12 lines
306 B
Diff

--- a/pahole.c
+++ b/pahole.c
@@ -3681,6 +3681,9 @@ int main(int argc, char *argv[])
goto out;
}
+ if (getenv("SOURCE_DATE_EPOCH") || getenv("KBUILD_BUILD_TIMESTAMP"))
+ conf_load.reproducible_build = true;
+
if (dwarves__init()) {
fputs("pahole: insufficient memory\n", stderr);
goto out;