:: commit f9f38f0c39d3736ea2fb7f9286df54629076dd6d

mintsuki <mintsuki@protonmail.com> — 2021-05-22 08:26

parents: 31ad36ac51

build: Revert usage of -mgeneral-regs-only

diff --git a/decompressor/Makefile b/decompressor/Makefile
index 5890d050..d50aa567 100644
--- a/decompressor/Makefile
+++ b/decompressor/Makefile
@@ -29,7 +29,11 @@ INTERNAL_CFLAGS = \
 	-fomit-frame-pointer \
 	-Wno-address-of-packed-member \
 	-masm=intel \
-	-mgeneral-regs-only \
+	-mno-80387 \
+	-mno-mmx \
+	-mno-3dnow \
+	-mno-sse \
+	-mno-sse2 \
 	-MMD \
 	-I.
 
diff --git a/stage23/Makefile b/stage23/Makefile
index 399a15b5..f53fc7fd 100644
--- a/stage23/Makefile
+++ b/stage23/Makefile
@@ -53,7 +53,11 @@ INTERNAL_CFLAGS := \
 	-fno-pic \
 	-Wno-address-of-packed-member \
 	-masm=intel \
-	-mgeneral-regs-only \
+	-mno-80387 \
+	-mno-mmx \
+	-mno-3dnow \
+	-mno-sse \
+	-mno-sse2 \
 	-MMD \
 	-DBUILD_ID=$(BUILD_ID) \
 	-DLIMINE_VERSION='"$(LIMINE_VERSION)"' \
tab: 248 wrap: offon