From c33d2dedd7ae7f259179abdc9a6f58847b32db21 Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Sun, 26 Dec 2021 15:25:44 +0000 Subject: make all component objects have the same base linker options --- kc/boot/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'kc/boot/Makefile') diff --git a/kc/boot/Makefile b/kc/boot/Makefile index 76bd4d4..e84330f 100644 --- a/kc/boot/Makefile +++ b/kc/boot/Makefile @@ -1,4 +1,5 @@ include ../../defaults.mk +include ../defaults.mk VPATH := ../../lib ../ @@ -13,11 +14,6 @@ CPPFLAGS += -I../../api -I$(EFIAPIDIR) -I$(EFIAPIDIR)/$(ARCH) -I$(EFIAPIDIR)/pro CFLAGS += -Wno-unused-const-variable -Wno-unused-function -fvisibility=hidden \ -g -fshort-wchar -mgeneral-regs-only -LIBDIRS += -L$(dir $(shell $(CC) -print-libgcc-file-name)) -LDSCRIPT := ../component.ld -LDFLAGS += -z max-page-size=4096 --export-dynamic -pic --no-dynamic-linker -LOADLIBES := -lgcc - OBJS := entry_x86_64.o reloc_x86_64.o kc_main.o elf64.o memcmp.o memcpy.o \ memmove.o memset.o $(OBJS): CFLAGS += -fPIC -- cgit v1.3.1-1-g115d