diff options
Diffstat (limited to 'meta/recipes-devtools/swig/swig/determinism.patch')
-rw-r--r-- | meta/recipes-devtools/swig/swig/determinism.patch | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/meta/recipes-devtools/swig/swig/determinism.patch b/meta/recipes-devtools/swig/swig/determinism.patch index 84c399182a..417f0c4317 100644 --- a/meta/recipes-devtools/swig/swig/determinism.patch +++ b/meta/recipes-devtools/swig/swig/determinism.patch | |||
@@ -1,13 +1,23 @@ | |||
1 | From 25bf9893ec1f557781eb241508ea1bec959061fe Mon Sep 17 00:00:00 2001 | ||
2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
3 | Date: Mon, 1 Mar 2021 00:11:10 +0000 | ||
4 | Subject: [PATCH] swig: Fix reproducibility issue | ||
5 | |||
1 | Remove the compiler commandline/platform from the compiled binary as this | 6 | Remove the compiler commandline/platform from the compiled binary as this |
2 | breaks reproducibilty. | 7 | breaks reproducibilty. |
3 | 8 | ||
4 | Upstream-Status: Inappropriate [OE reproducibiity fix upstream unlikely to take] | 9 | Upstream-Status: Inappropriate [OE reproducibiity fix upstream unlikely to take] |
5 | RP 2021/3/1 | 10 | RP 2021/3/1 |
6 | 11 | ||
12 | --- | ||
13 | Source/Modules/main.cxx | 1 - | ||
14 | 1 file changed, 1 deletion(-) | ||
7 | 15 | ||
16 | diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx | ||
17 | index 8250dee..415761d 100644 | ||
8 | --- a/Source/Modules/main.cxx | 18 | --- a/Source/Modules/main.cxx |
9 | +++ b/Source/Modules/main.cxx | 19 | +++ b/Source/Modules/main.cxx |
10 | @@ -642,7 +642,6 @@ static void getoptions(int argc, char *a | 20 | @@ -629,7 +629,6 @@ static void getoptions(int argc, char *argv[]) { |
11 | } | 21 | } |
12 | } else if (strcmp(argv[i], "-version") == 0) { | 22 | } else if (strcmp(argv[i], "-version") == 0) { |
13 | fprintf(stdout, "\nSWIG Version %s\n", Swig_package_version()); | 23 | fprintf(stdout, "\nSWIG Version %s\n", Swig_package_version()); |