Skip to content

Commit 00b65a9

Browse files
committed
linuxkm/Kbuild: define NO_PIE_FLAG to 1, not empty, to satisfy gnu make criteria for ifdef.
1 parent 1c9555c commit 00b65a9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

linuxkm/Kbuild

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@ ifeq "$(ENABLED_LINUXKM_PIE)" "yes"
118118
ifndef NO_PIE_FLAG
119119
ifeq ($(KERNEL_ARCH),arm)
120120
ifeq ($(intcmp $(VERSION),5,1,0,0),1)
121-
NO_PIE_FLAG :=
121+
NO_PIE_FLAG := 1
122122
$(info Note: disabling -fPIE to avoid R_ARM_REL32 on pre-5.11 target kernel.)
123123
else
124124
ifeq ($(intcmp $(VERSION),5,0,1,0)-$(intcmp $(PATCHLEVEL),11,1,0,0),1-1)
125-
NO_PIE_FLAG :=
125+
NO_PIE_FLAG := 1
126126
$(info Note: disabling -fPIE to avoid R_ARM_REL32 on pre-5.11 target kernel.)
127127
endif
128128
endif

0 commit comments

Comments
 (0)