summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome
diff options
context:
space:
mode:
authorAnton Antonov <anton.antonov@arm.com>2023-01-03 14:36:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-12 23:08:58 +0000
commit755ee95a45a4a5e3f880b6143e755ec699194416 (patch)
tree15ba3c7e2986eadd1c5957e310b6ced97bf470d8 /meta/recipes-gnome
parentd5668a7fd4d33d0d1670baeef58385c3acf4becd (diff)
downloadpoky-755ee95a45a4a5e3f880b6143e755ec699194416.tar.gz
rust: Do not use default compiler flags defined in CC crate
Rust crates build dependecy C libraries using "CC" crate. This crate adds some default compiler parameters depending on target arch. For some targets these parameters conflict with the parameters defined by OE. Warnings/errors like this can be seen in the case: cc1: error: switch '-mcpu=cortex-a15' conflicts with switch '-march=armv7-a+fp' [-Werror] Lets use only the OE parameters by exporting CRATE_CC_NO_DEFAULTS. https://github.com/rust-lang/cc-rs#external-configuration-via-environment-variables This patch fixes https://bugzilla.yoctoproject.org/show_bug.cgi?id=14947 (From OE-Core rev: 0c07089bdf7e0d7d8f37552db0bcd75f860979d9) Signed-off-by: Anton Antonov <Anton.Antonov@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome')
0 files changed, 0 insertions, 0 deletions