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

It break boot with UEFI bootloader

This reverts commit 2f2860a504.
This commit is contained in:
Dmitry Shmidt 2017-10-24 12:42:10 -07:00
parent 774481506a
commit 89805266af

View file

@ -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)) \
-fno-builtin -fpic -mno-single-pic-base