Pass PIC directly to x64 cross compilers.
Some checks failed
Tagged release / prepare-release (push) Successful in 3m1s
Tagged release / build-linux-x64 (push) Failing after 29m28s
Tagged release / build-macos (push) Has been skipped
Tagged release / build-linux-arm64 (push) Has been skipped
Tagged release / build-windows (push) Has been skipped
Tagged release / publish-release (push) Has been skipped

This commit is contained in:
Hermes Agent
2026-08-14 18:27:11 +00:00
parent 4c3e260961
commit f21aab5910
2 changed files with 4 additions and 6 deletions

View File

@@ -148,8 +148,8 @@ fn tagged_releases_are_built_and_packaged_with_rust_tools() {
"publish",
"PKG_CONFIG_ALLOW_CROSS",
"CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER",
"CFLAGS: -fPIC",
"CXXFLAGS: -fPIC",
"CC_x86_64_unknown_linux_gnu: x86_64-linux-gnu-gcc -fPIC",
"CXX_x86_64_unknown_linux_gnu: x86_64-linux-gnu-g++ -fPIC",
] {
assert!(
workflow.contains(required),