--- zzzz-none-000/linux-4.9.218/arch/arm/boot/compressed/Makefile 2020-04-02 15:20:41.000000000 +0000 +++ seale-7590ax-750/linux-4.9.218/arch/arm/boot/compressed/Makefile 2023-03-29 10:59:05.000000000 +0000 @@ -102,6 +102,7 @@ ORIG_CFLAGS := $(KBUILD_CFLAGS) KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS)) endif +KBUILD_CFLAGS_KERNEL := $(patsubst -f%-sections,,$(KBUILD_CFLAGS_KERNEL)) # -fstack-protector-strong triggers protection checks in this code, # but it is being used too early to link to meaningful stack_chk logic.