diff options
author | Rosen Penev <rosenp@gmail.com> | 2022-02-24 20:27:34 -0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-03-01 00:08:08 +0100 |
commit | c8b7065f61b75cab17b3b39c5091aa8de14f0aa8 (patch) | |
tree | 22d24a2dc7e876984fba81154eacdd49ccd87f7d /tools/mklibs/patches/002-disable_symbol_checks.patch | |
parent | 038d5bdab117e4c618442dfc96858263dd1ee72e (diff) | |
download | upstream-c8b7065f61b75cab17b3b39c5091aa8de14f0aa8.tar.gz upstream-c8b7065f61b75cab17b3b39c5091aa8de14f0aa8.tar.bz2 upstream-c8b7065f61b75cab17b3b39c5091aa8de14f0aa8.zip |
tools/mklibs: update to 0.1.45
Refresh 2to3 patch. Upstream partially did this against some older
python version. This is still needed.
Refreshed other patches to be python3 safe.
Remove uClibc patches as only musl is present now.
Refresh others.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'tools/mklibs/patches/002-disable_symbol_checks.patch')
-rw-r--r-- | tools/mklibs/patches/002-disable_symbol_checks.patch | 4 |
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 e18dfa8e55..96ca7a5f83 100644 --- a/tools/mklibs/patches/002-disable_symbol_checks.patch +++ b/tools/mklibs/patches/002-disable_symbol_checks.patch @@ -5,7 +5,7 @@ for name in unresolved: if not needed_symbols[name].weak: - raise Exception("Unresolvable symbol %s" % name) -+ print "WARNING: Unresolvable symbol %s" % name ++ print("WARNING: Unresolvable symbol %s" % name) break previous_pass_unresolved = unresolved @@ -14,7 +14,7 @@ if not name in symbol_provider: if not needed_symbols[name].weak: - raise Exception("No library provides non-weak %s" % name) -+ print "WARNING: Unresolvable symbol %s" % name ++ print("WARNING: Unresolvable symbol %s" % name) else: lib = symbol_provider[name] library_symbols_used[lib].add(library_symbols[lib][name]) |