rust.inc: add strict-align when target is ARMv4

This commit is contained in:
AJ Bagwell
2021-04-21 14:42:26 +01:00
parent 920db7b045
commit 031fc5406e

View File

@@ -39,6 +39,9 @@ def llvm_features_from_tune(d):
if ('armv6' in mach_overrides) or ('armv6' in feat):
f.append("+v6")
if ('armv4' in mach_overrides) or ('armv4' in feat):
f.append("+strict-align")
if 'dsp' in feat:
f.append("+dsp")