arm: Disable -Wcast-align warning.

Any modern system can handle unaligned memory access.  On armv7 it's
slightly slower, that's all.
This commit is contained in:
Richard W.M. Jones
2016-01-29 20:57:49 +00:00
parent 8a910136e4
commit 14d80452dc

View File

@@ -54,6 +54,7 @@ nw="$nw -Wunsafe-loop-optimizations" # just a warning that an optimization
# was not possible, safe to ignore
nw="$nw -Wstack-protector" # Useless warning when stack protector
# cannot being used in a function.
nw="$nw -Wcast-align" # Useless warning on arm >= 7, intel
dnl things I might fix soon:
nw="$nw -Wpacked" # Allow attribute((packed)) on structs
nw="$nw -Wlong-long" # Allow long long since it's required