From 71bb75bf25c79b916a074ea381d2870504e216ca Mon Sep 17 00:00:00 2001 From: hmilylmk Date: Fri, 12 Aug 2022 17:03:03 +0800 Subject: [PATCH] dsoftbus: remove --sysroot config when cross compiling cross-compiler has default sysroot for including headers and linking library, so we don't need add --sysroot config. Signed-off-by: hmilylmk --- .../0001-add-dsoftbus-build-support-for-embedded-env.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsoftbus/build/0001-add-dsoftbus-build-support-for-embedded-env.patch b/dsoftbus/build/0001-add-dsoftbus-build-support-for-embedded-env.patch index 9a251f94..e2a98ebd 100644 --- a/dsoftbus/build/0001-add-dsoftbus-build-support-for-embedded-env.patch +++ b/dsoftbus/build/0001-add-dsoftbus-build-support-for-embedded-env.patch @@ -236,7 +236,7 @@ index 2468ca8..f3adcb7 100644 -} \ No newline at end of file +} else { -+ musl_sysroot = "//toolchain/sysroot/" ++ musl_sysroot = "" +} diff --git a/core/gn/BUILD.gn b/core/gn/BUILD.gn index 38d3cc9..cde44b1 100755 -- Gitee