From 8e4376ad48f4a3c7b8a7e78137077ceb513f78b7 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) }