Fix PPC symbol clash

This commit is contained in:
mio
2025-04-13 01:13:39 +08:00
parent bd5a8c5146
commit 7795248730
7 changed files with 794 additions and 12 deletions

View File

@@ -83,9 +83,9 @@ fn build_with_cmake() {
};
// GNU-specific linker flags (but not on macOS)
if compiler.is_like_gnu() && env::consts::OS != "macos" {
println!("cargo:rustc-link-arg=-Wl,-allow-multiple-definition");
}
// if compiler.is_like_gnu() && env::consts::OS != "macos" {
// println!("cargo:rustc-link-arg=-Wl,-allow-multiple-definition");
// }
// Configure build generator
if has_ninja {