Merge pull request #338 from aj-bagwell/armv4-alignement

rust.inc: add strict-align when target is ARMv4
This commit is contained in:
Cody Schafer
2021-04-26 21:37:33 -04:00
committed by GitHub

View File

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