mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-10 23:09:18 +00:00
TODO: Trampoline can't be compiled.
This commit is contained in:
8
Makefile
8
Makefile
@ -86,6 +86,14 @@ LDFLAGS += -TArchitecture/aarch64/linker.ld -fPIC
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(OSARCH), amd64)
|
||||
NASMFLAGS := -f elf64
|
||||
else ifeq ($(OSARCH), i686)
|
||||
NASMFLAGS := -f elf32
|
||||
else ifeq ($(OSARCH), aarch64)
|
||||
NASMFLAGS :=
|
||||
endif
|
||||
|
||||
ifeq ($(DEBUG), 1)
|
||||
CFLAGS += -DDEBUG -ggdb -O0 -fdiagnostics-color=always
|
||||
LDFLAGS += -ggdb -O0 -g
|
||||
|
Reference in New Issue
Block a user