Apply PIC flags to all x64 native builds.
Some checks failed
Tagged release / prepare-release (push) Successful in 3m0s
Tagged release / build-linux-x64 (push) Failing after 28m43s
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
Some checks failed
Tagged release / prepare-release (push) Successful in 3m0s
Tagged release / build-linux-x64 (push) Failing after 28m43s
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:
@@ -137,9 +137,9 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
AR_x86_64_unknown_linux_gnu: x86_64-linux-gnu-ar
|
AR_x86_64_unknown_linux_gnu: x86_64-linux-gnu-ar
|
||||||
CC_x86_64_unknown_linux_gnu: x86_64-linux-gnu-gcc
|
CC_x86_64_unknown_linux_gnu: x86_64-linux-gnu-gcc
|
||||||
CFLAGS_x86_64_unknown_linux_gnu: -fPIC
|
CFLAGS: -fPIC
|
||||||
CXX_x86_64_unknown_linux_gnu: x86_64-linux-gnu-g++
|
CXX_x86_64_unknown_linux_gnu: x86_64-linux-gnu-g++
|
||||||
CXXFLAGS_x86_64_unknown_linux_gnu: -fPIC
|
CXXFLAGS: -fPIC
|
||||||
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER: x86_64-linux-gnu-gcc
|
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER: x86_64-linux-gnu-gcc
|
||||||
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS: -C link-arg=--sysroot=/opt/ruds-x64-sysroot -C link-arg=-Wl,-rpath,$ORIGIN -L native=/opt/ruds-x64-sysroot/usr/lib/x86_64-linux-gnu -L native=/opt/ruds-x64-sysroot/lib/x86_64-linux-gnu
|
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS: -C link-arg=--sysroot=/opt/ruds-x64-sysroot -C link-arg=-Wl,-rpath,$ORIGIN -L native=/opt/ruds-x64-sysroot/usr/lib/x86_64-linux-gnu -L native=/opt/ruds-x64-sysroot/lib/x86_64-linux-gnu
|
||||||
PKG_CONFIG_ALLOW_CROSS: "1"
|
PKG_CONFIG_ALLOW_CROSS: "1"
|
||||||
|
|||||||
@@ -148,8 +148,8 @@ fn tagged_releases_are_built_and_packaged_with_rust_tools() {
|
|||||||
"publish",
|
"publish",
|
||||||
"PKG_CONFIG_ALLOW_CROSS",
|
"PKG_CONFIG_ALLOW_CROSS",
|
||||||
"CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER",
|
"CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER",
|
||||||
"CFLAGS_x86_64_unknown_linux_gnu: -fPIC",
|
"CFLAGS: -fPIC",
|
||||||
"CXXFLAGS_x86_64_unknown_linux_gnu: -fPIC",
|
"CXXFLAGS: -fPIC",
|
||||||
] {
|
] {
|
||||||
assert!(
|
assert!(
|
||||||
workflow.contains(required),
|
workflow.contains(required),
|
||||||
|
|||||||
Reference in New Issue
Block a user