scripts/Makefile.lib: add PLATFORM_LIBGCC to efi linking
Link .efi applications using libgcc Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
This commit is contained in:

committed by
Heinrich Schuchardt

parent
5e5ddf79f1
commit
43d43241d1
@@ -497,7 +497,7 @@ KBUILD_EFILDFLAGS = -nostdlib -zexecstack -znocombreloc -znorelro
|
||||
KBUILD_EFILDFLAGS += $(call ld-option,--no-warn-rwx-segments)
|
||||
quiet_cmd_efi_ld = LD $@
|
||||
cmd_efi_ld = $(LD) $(KBUILD_EFILDFLAGS) -L $(srctree) -T $(EFI_LDS_PATH) \
|
||||
-shared -Bsymbolic -s $^ -o $@
|
||||
-shared -Bsymbolic -s $^ $(PLATFORM_LIBGCC) -o $@
|
||||
|
||||
EFI_LDS_PATH = arch/$(ARCH)/lib/$(EFI_LDS)
|
||||
|
||||
|
Reference in New Issue
Block a user