diff --git a/Makefile b/Makefile index 7841aca..ae4482c 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ $(TARGET): $(LINUX_SRCS) forth.h $(CC) $(CFLAGS) -static -nostdlib -ffreestanding -fno-stack-protector -o $@ $(LINUX_SRCS) $(KERNEL_TARGET): $(KERNEL_SRCS) forth.h $(KERNEL_LD) - $(CC) $(CFLAGS) -ffreestanding -nostdlib -fno-stack-protector -mno-red-zone -o $@ $(KERNEL_SRCS) -T$(KERNEL_LD) -Wl,--build-id=none + $(CC) $(CFLAGS) -ffreestanding -nostdlib -fno-stack-protector -mno-red-zone -fno-pie -no-pie -o $@ $(KERNEL_SRCS) -T$(KERNEL_LD) -Wl,--build-id=none clean: rm -f $(TARGET) $(KERNEL_TARGET)