diff --git a/src/core/build/build_testcases.py b/src/core/build/build_testcases.py index f7f963b7e6d9f054412067ef6cc22067f8e1079a..a3d35c6a75feb20a5426bb2088b047f9fd0d7f2f 100755 --- a/src/core/build/build_testcases.py +++ b/src/core/build/build_testcases.py @@ -252,11 +252,12 @@ class BuildTestcases(object): command.append("--gn-args") target_cpu = self.build_parameter_dic.get("target_cpu") if target_cpu == "arm64": - command.append("use_musl=false") - command.append("--gn-args") - command.append("use_custom_libcxx=true") - command.append("--gn-args") - command.append("use_custom_clang=true") + if productform == "m40": + command.append("use_musl=false") + command.append("--gn-args") + command.append("use_custom_libcxx=true") + command.append("--gn-args") + command.append("use_custom_clang=true") command.append("--target-cpu") command.append(target_cpu) command.append("--ccache")