mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user