From: Waldemar Kozaczuk <jwkozac...@gmail.com> Committer: Waldemar Kozaczuk <jwkozac...@gmail.com> Branch: master
scripts: use strip command as set in makefile so it works properly with aarch64 Signed-off-by: Waldemar Kozaczuk <jwkozac...@gmail.com> --- diff --git a/scripts/manifest_common.py b/scripts/manifest_common.py --- a/scripts/manifest_common.py +++ b/scripts/manifest_common.py @@ -74,7 +74,11 @@ def to_strip(filename): if not os.path.exists(stripped_filename) \ or (os.path.getmtime(stripped_filename) < \ os.path.getmtime(filename)): - ret = subprocess.call(["strip", "-o", stripped_filename, filename]) + if os.environ.get('STRIP'): + strip_cmd = os.environ.get('STRIP') + else: + strip_cmd = 'strip' + ret = subprocess.call([strip_cmd, "-o", stripped_filename, filename]) if ret != 0: print("Failed stripping %s. Using original." % filename) return filename -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/00000000000012100e059f7315fd%40google.com.