build: Drop -mabi=sysv for x86 for clang 16

This commit is contained in:
mintsuki 2023-08-29 21:39:27 -05:00
parent 57e4ae6e25
commit e207c03f69
3 changed files with 0 additions and 6 deletions

View File

@ -63,7 +63,6 @@ ifeq ($(TARGET),bios)
-fno-PIC \ -fno-PIC \
-m32 \ -m32 \
-march=i686 \ -march=i686 \
-mabi=sysv \
-mno-80387 -mno-80387
override CPPFLAGS_FOR_TARGET := \ override CPPFLAGS_FOR_TARGET := \
$(CPPFLAGS_FOR_TARGET) \ $(CPPFLAGS_FOR_TARGET) \
@ -76,7 +75,6 @@ ifeq ($(TARGET),uefi-x86-64)
-fshort-wchar \ -fshort-wchar \
-m64 \ -m64 \
-march=x86-64 \ -march=x86-64 \
-mabi=sysv \
-mno-80387 \ -mno-80387 \
-mno-mmx \ -mno-mmx \
-mno-sse \ -mno-sse \
@ -95,7 +93,6 @@ ifeq ($(TARGET),uefi-ia32)
-fshort-wchar \ -fshort-wchar \
-m32 \ -m32 \
-march=i686 \ -march=i686 \
-mabi=sysv \
-mno-80387 -mno-80387
override CPPFLAGS_FOR_TARGET := \ override CPPFLAGS_FOR_TARGET := \
-I'$(call SHESCAPE,$(BUILDDIR))/limine-efi/inc' \ -I'$(call SHESCAPE,$(BUILDDIR))/limine-efi/inc' \

View File

@ -38,7 +38,6 @@ override CFLAGS_FOR_TARGET += \
-fno-PIC \ -fno-PIC \
-m32 \ -m32 \
-march=i686 \ -march=i686 \
-mabi=sysv \
-mno-80387 -mno-80387
override CPPFLAGS_FOR_TARGET := \ override CPPFLAGS_FOR_TARGET := \

View File

@ -64,7 +64,6 @@ ifneq ($(findstring x86_64,$(CC_FOR_TARGET)),)
override CFLAGS += \ override CFLAGS += \
-m64 \ -m64 \
-march=x86-64 \ -march=x86-64 \
-mabi=sysv \
-mgeneral-regs-only \ -mgeneral-regs-only \
-mno-red-zone -mno-red-zone
endif endif
@ -94,7 +93,6 @@ override CFLAGS_MB := \
-fno-PIC \ -fno-PIC \
-m32 \ -m32 \
-march=i686 \ -march=i686 \
-mabi=sysv \
-mgeneral-regs-only \ -mgeneral-regs-only \
-I../freestanding-headers \ -I../freestanding-headers \
-I. \ -I. \