From e47a0ca6e2498ae547c8d9a57a0493e0aa3b0abd Mon Sep 17 00:00:00 2001 From: klzgrad Date: Thu, 5 May 2022 01:35:22 +0800 Subject: [PATCH] build: Strip build outputs in OpenWrt --- src/build/toolchain/openwrt/BUILD.gn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/build/toolchain/openwrt/BUILD.gn b/src/build/toolchain/openwrt/BUILD.gn index d05b4503d7..81cd8f2aa7 100644 --- a/src/build/toolchain/openwrt/BUILD.gn +++ b/src/build/toolchain/openwrt/BUILD.gn @@ -12,4 +12,6 @@ clang_toolchain(target_cpu) { current_cpu = target_cpu current_os = "openwrt" } + + strip = rebase_path("$clang_base_path/bin/llvm-strip", root_build_dir) }