Commit 4a76f79f authored by Kalle Wachsmuth's avatar Kalle Wachsmuth Committed by Anup Patel
Browse files

Makefile: don't pass -mstrict-align if not supported

Support for that option will be added in LLVM 18:
https://github.com/llvm/llvm-project/commit/23ce5368409c760f3dd49d0f17f34772b0b869d8



Clang 17.0.6, however, will error when passed the
`-mstrict-align` flag.
We should only use the flag if it is supported.

Signed-off-by: default avatarKalle Wachsmuth <kalle.wachsmuth@gmail.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
Reviewed-by: default avatarXiang W <wxjstz@126.com>
parent 21caaa3f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment