make.py: Also pass STRIPBIN
This is required for cross-building to allow stripping the installed binaries. Submitted By: Henry Vogt <hv@tue.mpg.de>
This commit is contained in:
parent
f7ff7baaf6
commit
a920b9817e
@ -219,6 +219,9 @@ def default_cross_toolchain():
|
|||||||
parsed_args.cross_bindir)
|
parsed_args.cross_bindir)
|
||||||
check_required_make_env_var("XLD", "ld" if use_cross_gcc else "ld.lld",
|
check_required_make_env_var("XLD", "ld" if use_cross_gcc else "ld.lld",
|
||||||
parsed_args.cross_bindir)
|
parsed_args.cross_bindir)
|
||||||
|
check_required_make_env_var("STRIPBIN",
|
||||||
|
"strip" if use_cross_gcc else "llvm-strip",
|
||||||
|
parsed_args.cross_bindir)
|
||||||
|
|
||||||
bmake_binary = bootstrap_bmake(source_root, objdir_prefix)
|
bmake_binary = bootstrap_bmake(source_root, objdir_prefix)
|
||||||
# at -j1 cleandir+obj is unbearably slow. AUTO_OBJ helps a lot
|
# at -j1 cleandir+obj is unbearably slow. AUTO_OBJ helps a lot
|
||||||
|
Loading…
Reference in New Issue
Block a user