misc: Disable strict aliasing, just in case

This commit is contained in:
mintsuki 2022-01-25 09:16:26 +01:00
parent bfa7db951c
commit 8ccd4199b0
2 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@ override INTERNAL_CFLAGS := \
-std=gnu11 \ -std=gnu11 \
-ffreestanding \ -ffreestanding \
-fno-stack-protector \ -fno-stack-protector \
-fno-strict-aliasing \
-fno-lto \ -fno-lto \
-fno-pic \ -fno-pic \
-fno-pie \ -fno-pie \

View File

@ -48,6 +48,7 @@ override INTERNAL_CFLAGS := \
-ffreestanding \ -ffreestanding \
-fno-stack-protector \ -fno-stack-protector \
-fno-omit-frame-pointer \ -fno-omit-frame-pointer \
-fno-strict-aliasing \
-fno-lto \ -fno-lto \
-nostdinc \ -nostdinc \
-Wno-address-of-packed-member \ -Wno-address-of-packed-member \