diff options
Diffstat (limited to 'kernel/makefile')
| -rw-r--r-- | kernel/makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/makefile b/kernel/makefile index 030caaa..99b2dd8 100644 --- a/kernel/makefile +++ b/kernel/makefile @@ -1,11 +1,11 @@ # Kernel makefile
CFLAGS := -ffreestanding -Wall -Wextra -g -std=gnu99 -O2 -Iinclude --sysroot=$(SYSROOT) \
- -isystem="/usr/include"
+ -isystem $(SYSROOT)/usr/include
CXXFLAGS := -ffreestanding -Wall -Wextra -fno-exceptions -fno-rtti -g -O2 -Iinclude --sysroot=$(SYSROOT) \
- -isystem="/usr/include" -std=gnu++20
+ -isystem $(SYSROOT)/usr/include -std=gnu++20
LDFLAGS := -T arch/$(ARCH)/linker.ld -ffreestanding -g -O2 -Iinclude --sysroot=$(SYSROOT) \
- -isystem="/usr/include"
+ -isystem $(SYSROOT)/usr/include
ASMFLAGS :=
ifeq ($(ARCH),x86_64)
|
