summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2020-12-04 15:53:44 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2020-12-04 15:53:44 +0000
commita920b9817e5722252e92937e2dff2745c2c49eb9 (patch)
tree94cc9cab811f2832eef75a3507c3cbaa7cad6dfa /tools
parentf7ff7baaf62dd2e7b1f7b00c584cd4b968b4de1d (diff)
downloadsrc-test2-a920b9817e5722252e92937e2dff2745c2c49eb9.tar.gz
src-test2-a920b9817e5722252e92937e2dff2745c2c49eb9.zip
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>
Notes
Notes: svn path=/head/; revision=368338
Diffstat (limited to 'tools')
-rwxr-xr-xtools/build/make.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/build/make.py b/tools/build/make.py
index fefd2d2dd61b..d06686f8be63 100755
--- a/tools/build/make.py
+++ b/tools/build/make.py
@@ -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