:: commit d3070566354a88df4e5f923575b166255303abba

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

parents: 5aab620955

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