From f9ca4e2d1309f4c65cecc505773ebeb96737378e Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sun, 14 Dec 2025 20:04:24 +0800 Subject: [PATCH] openwrt: Disable C++ modules support --- src/build/config/clang/clang.gni | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build/config/clang/clang.gni b/src/build/config/clang/clang.gni index e49005d8d2..43d2a041c3 100644 --- a/src/build/config/clang/clang.gni +++ b/src/build/config/clang/clang.gni @@ -41,7 +41,7 @@ android_supported_cpus = [ ] clang_modules_platform_supported = # s390x should work, but IBM doesn't want it enabled for that cpu arch. - (is_linux && current_cpu != "s390x") || + (is_linux && current_cpu != "s390x" && current_os != "openwrt") || (is_android && filter_include(android_supported_cpus, [ current_cpu ]) != []) || is_apple || is_fuchsia || is_chromeos ||