From f9f38f0c39d3736ea2fb7f9286df54629076dd6d Mon Sep 17 00:00:00 2001 From: mintsuki Date: Sat, 22 May 2021 10:26:56 +0200 Subject: [PATCH] build: Revert usage of -mgeneral-regs-only --- decompressor/Makefile | 6 +++++- stage23/Makefile | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) 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)"' \