summaryrefslogtreecommitdiffstats
path: root/meta/conf/distro/include/rust_security_flags.inc
blob: 590bef17a0193068d7084734b1f8f072a4a53ed5 (plain)
1
2
3
4
5
6
7
# Build errors with PIE options enabled
SECURITY_CFLAGS:pn-rust-native = "${SECURITY_NO_PIE_CFLAGS}"
SECURITY_CFLAGS:pn-rust-cross-${TARGET_ARCH} = "${SECURITY_NO_PIE_CFLAGS}"
SECURITY_CFLAGS:pn-rust = "${SECURITY_NO_PIE_CFLAGS}"
SECURITY_CFLAGS:pn-rust-llvm = "${SECURITY_NO_PIE_CFLAGS}"

SECURITY_LDFLAGS:pn-rust-cross-arm = " -lssp_nonshared -lssp"