Skip to content

Commit b215e14

Browse files
Dmitry Shmidtpundiramit
authored andcommitted
Revert "UPSTREAM: efi/libstub/arm64: Set -fpie when building the EFI stub"
It break boot with UEFI bootloader This reverts commit 2f2860a.
1 parent b097a6d commit b215e14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/firmware/efi/libstub/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cflags-$(CONFIG_X86) += -m$(BITS) -D__KERNEL__ $(LINUX_INCLUDE) -O2 \
1010
-fPIC -fno-strict-aliasing -mno-red-zone \
1111
-mno-mmx -mno-sse
1212

13-
cflags-$(CONFIG_ARM64) := $(subst -pg,,$(KBUILD_CFLAGS)) -fpie
13+
cflags-$(CONFIG_ARM64) := $(subst -pg,,$(KBUILD_CFLAGS))
1414
cflags-$(CONFIG_ARM) := $(subst -pg,,$(KBUILD_CFLAGS)) \
1515
-fno-builtin -fpic -mno-single-pic-base
1616

0 commit comments

Comments
 (0)