Skip to content
Snippets Groups Projects
Commit a63fb22a authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Merge branch 'fix-aarch-toolchain-build' into 'master'

Add -mno-outline-atomics when building C code

See merge request !420
parents c5564945 239674c7
No related branches found
No related tags found
1 merge request!420Add -mno-outline-atomics when building C code
Pipeline #13075 failed
...@@ -59,6 +59,7 @@ fn main() { ...@@ -59,6 +59,7 @@ fn main() {
.flag("-nostdlib") .flag("-nostdlib")
.include(&format!("{}/include", crate_dir)) .include(&format!("{}/include", crate_dir))
.include(&format!("{}/target/include", crate_dir)) .include(&format!("{}/target/include", crate_dir))
.flag("-mno-outline-atomics")
.flag("-fno-stack-protector") .flag("-fno-stack-protector")
.flag("-Wno-expansion-to-defined") .flag("-Wno-expansion-to-defined")
.files( .files(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment