Open mlilien opened 21 hours ago
That sounds like a custom target, which is very difficult for cc
to support.
What is the expected value for -mfloat-abi
?
Yes, it is a custom target which sets -mfloat-abi=hard
. It clashes with https://github.com/rust-lang/cc-rs/blob/main/src/lib.rs#L2222-L2231.
a way to prevent cc
from setting additional flags, e.g. via env var would be nice. in my project cc
is used by a dependency.
With version 1.1.32 a build system which already sets tune buildflags can't build anymore. E.g. for a raspberry pi 3 in yocto, i get
I would prefer a feature or an option via envvar to prevent cc from guessing compile flags.