diff options
author | Daniel Golle <daniel@makrotopia.org> | 2019-07-26 23:45:47 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-07-26 23:50:21 +0200 |
commit | 9437012b9ee4dc550e42665b71902cf885169100 (patch) | |
tree | 68243f401099be5e37fddbdf15ae745e267c8cb7 /tools/mklibs/patches/004-libpthread_link.patch | |
parent | 83d5ca2186f7801d94f336e09f8db0a2c5c5d97f (diff) | |
download | upstream-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/004-libpthread_link.patch')
-rw-r--r-- | tools/mklibs/patches/004-libpthread_link.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mklibs/patches/004-libpthread_link.patch b/tools/mklibs/patches/004-libpthread_link.patch index 657e232b0c..3a630ea288 100644 --- a/tools/mklibs/patches/004-libpthread_link.patch +++ b/tools/mklibs/patches/004-libpthread_link.patch @@ -17,7 +17,7 @@ if match.group('ld'): ret.append(find_lib(match.group(0))) elif match.group('lib'): -@@ -619,7 +619,7 @@ while 1: +@@ -628,7 +628,7 @@ while 1: cmd.extend(extra_flags) cmd.append("-lgcc") cmd.extend(["-L%s" % a for a in [dest_path] + [sysroot + b for b in lib_path if sysroot == "" or b not in ("/" + libdir + "/", "/usr/" + libdir + "/")]]) |