From 00b65a9e0072a9be62590dfea82c887be5e936f2 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Thu, 16 Apr 2026 18:00:45 -0500 Subject: [PATCH] linuxkm/Kbuild: define NO_PIE_FLAG to 1, not empty, to satisfy gnu make criteria for ifdef. --- linuxkm/Kbuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linuxkm/Kbuild b/linuxkm/Kbuild index 17c9d4f137..fe3f823942 100644 --- a/linuxkm/Kbuild +++ b/linuxkm/Kbuild @@ -118,11 +118,11 @@ ifeq "$(ENABLED_LINUXKM_PIE)" "yes" ifndef NO_PIE_FLAG ifeq ($(KERNEL_ARCH),arm) ifeq ($(intcmp $(VERSION),5,1,0,0),1) - NO_PIE_FLAG := + NO_PIE_FLAG := 1 $(info Note: disabling -fPIE to avoid R_ARM_REL32 on pre-5.11 target kernel.) else ifeq ($(intcmp $(VERSION),5,0,1,0)-$(intcmp $(PATCHLEVEL),11,1,0,0),1-1) - NO_PIE_FLAG := + NO_PIE_FLAG := 1 $(info Note: disabling -fPIE to avoid R_ARM_REL32 on pre-5.11 target kernel.) endif endif