aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adam Greig <adam@adamgreig.com> 2020-07-16 12:42:30 +0100
committerGravatar Adam Greig <adam@adamgreig.com> 2020-07-16 12:42:30 +0100
commit9c3bbc2e50a5be9d5d3bf878c639b9c9fcbf9c3e (patch)
treebbb266a8aee5f19b1f844bd95e7ab1228eea4e7e
parentec2e1783faebb70991b36f7c7644864da4d2b466 (diff)
downloadcortex-m-9c3bbc2e50a5be9d5d3bf878c639b9c9fcbf9c3e.tar.gz
cortex-m-9c3bbc2e50a5be9d5d3bf878c639b9c9fcbf9c3e.tar.zst
cortex-m-9c3bbc2e50a5be9d5d3bf878c639b9c9fcbf9c3e.zip
Always link pre-built asm, required for new cache management functions
-rw-r--r--build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.rs b/build.rs
index eb0cd11..d53dea5 100644
--- a/build.rs
+++ b/build.rs
@@ -6,7 +6,7 @@ fn main() {
let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap());
let name = env::var("CARGO_PKG_NAME").unwrap();
- if target.starts_with("thumb") && env::var_os("CARGO_FEATURE_INLINE_ASM").is_none() {
+ if target.starts_with("thumb") {
fs::copy(
format!("bin/{}.a", target),
out_dir.join(format!("lib{}.a", name)),