:: commit 8ccd4199b008d5427b1267840cd3f25d22b2970c

mintsuki <mintsuki@protonmail.com> — 2022-01-25 08:16

parents: bfa7db951c

misc: Disable strict aliasing, just in case

diff --git a/decompressor/GNUmakefile b/decompressor/GNUmakefile
index e33702e6..cf008888 100644
--- a/decompressor/GNUmakefile
+++ b/decompressor/GNUmakefile
@@ -24,6 +24,7 @@ override INTERNAL_CFLAGS := \
 	-std=gnu11 \
 	-ffreestanding \
 	-fno-stack-protector \
+	-fno-strict-aliasing \
 	-fno-lto \
 	-fno-pic \
 	-fno-pie \
diff --git a/stage23/GNUmakefile b/stage23/GNUmakefile
index 5af8f9b0..69603d8b 100644
--- a/stage23/GNUmakefile
+++ b/stage23/GNUmakefile
@@ -48,6 +48,7 @@ override INTERNAL_CFLAGS := \
 	-ffreestanding \
 	-fno-stack-protector \
 	-fno-omit-frame-pointer \
+	-fno-strict-aliasing \
 	-fno-lto \
 	-nostdinc \
 	-Wno-address-of-packed-member \
tab: 248 wrap: offon