aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mklibs/patches/002-disable_symbol_checks.patch
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2019-07-26 23:45:47 +0200
committerDaniel Golle <daniel@makrotopia.org>2019-07-26 23:50:21 +0200
commit9437012b9ee4dc550e42665b71902cf885169100 (patch)
tree68243f401099be5e37fddbdf15ae745e267c8cb7 /tools/mklibs/patches/002-disable_symbol_checks.patch
parent83d5ca2186f7801d94f336e09f8db0a2c5c5d97f (diff)
downloadupstream-9437012b9ee4dc550e42665b71902cf885169100.tar.gz
upstream-9437012b9ee4dc550e42665b71902cf885169100.tar.bz2
upstream-9437012b9ee4dc550e42665b71902cf885169100.zip
tools/mklibs: update to 0.1.44 and convert to Python 3
Since the switch to Python 3 build fails if CONFIG_USE_MKLIBS is set ("Strip unnecessary functions from libraries" in menuconfig) as mklibs hasn't been converted to run on Python 3. * update to most recent upstream version which brings some reproducibility fixes * converted to Python 3 using 2to3 * fixed mixed tab/spaces indentation * fixed use of string.* functions * some more minor fixes to make Python 3 happy Fixes commit 19938c8de7 ("build: switch to Python 3") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'tools/mklibs/patches/002-disable_symbol_checks.patch')
-rw-r--r--tools/mklibs/patches/002-disable_symbol_checks.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mklibs/patches/002-disable_symbol_checks.patch b/tools/mklibs/patches/002-disable_symbol_checks.patch
index 44be637609..e18dfa8e55 100644
--- a/tools/mklibs/patches/002-disable_symbol_checks.patch
+++ b/tools/mklibs/patches/002-disable_symbol_checks.patch
@@ -1,6 +1,6 @@
--- a/src/mklibs
+++ b/src/mklibs
-@@ -524,7 +524,7 @@ while 1:
+@@ -533,7 +533,7 @@ while 1:
# No progress in last pass. Verify all remaining symbols are weak.
for name in unresolved:
if not needed_symbols[name].weak:
@@ -9,7 +9,7 @@
break
previous_pass_unresolved = unresolved
-@@ -559,7 +559,7 @@ while 1:
+@@ -568,7 +568,7 @@ while 1:
for name in needed_symbols:
if not name in symbol_provider:
if not needed_symbols[name].weak: