diff options
| -rw-r--r-- | Private/CRT/__mpcc_exception.hxx | 2 | ||||
| -rw-r--r-- | Private/makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Private/CRT/__mpcc_exception.hxx b/Private/CRT/__mpcc_exception.hxx index 669ef8d5..e89269b1 100644 --- a/Private/CRT/__mpcc_exception.hxx +++ b/Private/CRT/__mpcc_exception.hxx @@ -16,7 +16,7 @@ namespace std #ifdef __KERNEL__ inline void __throw_general(void) { - asm ("int $0xD"); + __asm__ ("int $0xD"); } #else inline void __throw_general(void) diff --git a/Private/makefile b/Private/makefile index d665c5fe..899fca4f 100644 --- a/Private/makefile +++ b/Private/makefile @@ -5,7 +5,7 @@ CC = x86_64-w64-mingw32-gcc LD = x86_64-w64-mingw32-ld -CCFLAGS = -c -fPIC -D__NEWOS_AMD64__ -mno-red-zone -fno-rtti -fno-exceptions \ +CCFLAGS = -c -fPIC -ffreestanding -D__NEWOS_AMD64__ -mno-red-zone -fno-rtti -fno-exceptions \ -std=c++20 -D__FSKIT_NEWFS__ -D__KERNEL__ -D__HAVE_MAHROUSS_APIS__ -D__MAHROUSS__ -I../ -I./ \ -DBLEND2D_NO_STDCXX -DBLEND2D_NO_TLS -DBLEND2D_EMBED |
