Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36733457 authored by Dmitry Shmidt's avatar Dmitry Shmidt
Browse files

Revert "BACKPORT: efi/libstub/arm64: Set -fpie when building the EFI stub"

It breaks boot with UEFI bootloader

This reverts commit 306315d1.
parent 27155df9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ cflags-$(CONFIG_X86) += -m$(BITS) -D__KERNEL__ $(LINUX_INCLUDE) -O2 \
				   -fPIC -fno-strict-aliasing -mno-red-zone \
				   -mno-mmx -mno-sse

cflags-$(CONFIG_ARM64)		:= $(subst -pg,,$(KBUILD_CFLAGS)) -fpie
cflags-$(CONFIG_ARM64)		:= $(subst -pg,,$(KBUILD_CFLAGS))
cflags-$(CONFIG_ARM)		:= $(subst -pg,,$(KBUILD_CFLAGS)) -g0 \
				   -fno-builtin -fpic -mno-single-pic-base