summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/swig/swig/determinism.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/swig/swig/determinism.patch')
-rw-r--r--meta/recipes-devtools/swig/swig/determinism.patch12
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 @@
1From 25bf9893ec1f557781eb241508ea1bec959061fe Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Mon, 1 Mar 2021 00:11:10 +0000
4Subject: [PATCH] swig: Fix reproducibility issue
5
1Remove the compiler commandline/platform from the compiled binary as this 6Remove the compiler commandline/platform from the compiled binary as this
2breaks reproducibilty. 7breaks reproducibilty.
3 8
4Upstream-Status: Inappropriate [OE reproducibiity fix upstream unlikely to take] 9Upstream-Status: Inappropriate [OE reproducibiity fix upstream unlikely to take]
5RP 2021/3/1 10RP 2021/3/1
6 11
12---
13 Source/Modules/main.cxx | 1 -
14 1 file changed, 1 deletion(-)
7 15
16diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx
17index 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());