summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-05-06 09:26:21 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-05-06 09:26:21 +0200
commit3405f9b05ce406beb90c5e3b096d9a39be80e48f (patch)
treeddba61a6f0b53c68dc7c83abc40edf007ff9a57f
parentbd7fc18c41bbf57bc846294672542b3a14dd14a3 (diff)
MHR-23: Revert makefile, specify -ffreestanding as it was removed
before. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
-rw-r--r--Private/CRT/__mpcc_exception.hxx2
-rw-r--r--Private/makefile2
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