svn commit: r368338 - head/tools/build
Alex Richardson
arichardson at FreeBSD.org
Fri Dec 4 15:53:47 UTC 2020
Author: arichardson
Date: Fri Dec 4 15:53:44 2020
New Revision: 368338
URL: https://svnweb.freebsd.org/changeset/base/368338
Log:
make.py: Also pass STRIPBIN
This is required for cross-building to allow stripping the installed binaries.
Submitted By: Henry Vogt <hv at tue.mpg.de>
Modified:
head/tools/build/make.py
Modified: head/tools/build/make.py
==============================================================================
--- head/tools/build/make.py Fri Dec 4 15:53:37 2020 (r368337)
+++ head/tools/build/make.py Fri Dec 4 15:53:44 2020 (r368338)
@@ -219,6 +219,9 @@ if __name__ == "__main__":
parsed_args.cross_bindir)
check_required_make_env_var("XLD", "ld" if use_cross_gcc else "ld.lld",
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)
# at -j1 cleandir+obj is unbearably slow. AUTO_OBJ helps a lot
More information about the svn-src-head
mailing list