From ef6273679ea9caab5856432945d8eb7d28765ff8 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) }