Skip to content
Commit 62242e83 authored by Richard Purdie's avatar Richard Purdie
Browse files

rust-common: Add LDFLAGS to cc wrapper



The -cc wrapper can be used for linking and can fail if key flags are missing:

| error: linking with `[path]/tmp/work/x86_64-linux/rust-native/1.54.0-r0/wrapper/target-rust-cc`

Add the flags to fix builds even if that is counter-intuitive (cc would
normally be used for compiling and ccld for linking).

Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 099c761f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment