summaryrefslogtreecommitdiffhomepage
path: root/Private/makefile
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-26 20:01:37 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-26 20:01:37 +0100
commitddb6c818256ad817ba8b5e93e7868571739ae49c (patch)
treee5105de6ec9ff2e90528033f51e950fd4dac2f30 /Private/makefile
parentef334847f61125e610e719f8dc1580d7f07e6c1d (diff)
Kernel:HAL: getting IDT to work...
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/makefile')
-rw-r--r--Private/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Private/makefile b/Private/makefile
index 5429a6d6..b49663fc 100644
--- a/Private/makefile
+++ b/Private/makefile
@@ -5,10 +5,10 @@
CC = x86_64-w64-mingw32-g++
LD = x86_64-w64-mingw32-ld
-CCFLAGS = -c -ffreestanding -mgeneral-regs-only -mno-red-zone -fno-rtti -fno-exceptions -std=c++20 -D__DEBUG__ -D__FSKIT_NEWFS__ -D__HAVE_HCORE_APIS__ -D__HCORE__ -I../ -I./ -I$(HOME)/
+CCFLAGS = -c -ffreestanding -fno-rtti -fno-exceptions -std=c++20 -D__FSKIT_NEWFS__ -D__HAVE_HCORE_APIS__ -D__HCORE__ -I../ -I./ -I$(HOME)/
ASM = nasm
ASMFLAGS = -f win64
-LDFLAGS = -e Main -shared --subsystem=17
+LDFLAGS = -e Main -shared --subsystem=17 -ffreestanding
LDOBJ = $(wildcard Obj/*.obj)
# This file is the kernel, responsible of task management, memory, drivers and more.