:: commit 21fa4a96167a282c69ce6e628e7d9825e96c5530

mintsuki <mintsuki@protonmail.com> — 2022-08-29 19:52

parents: 9eade7fa0f

build: Update for new cross-detect

diff --git a/common/GNUmakefile b/common/GNUmakefile
index fa063937..6f59488d 100644
--- a/common/GNUmakefile
+++ b/common/GNUmakefile
@@ -123,7 +123,7 @@ ifeq ($(TARGET),bios)
         -static \
         --build-id=sha1
 
-    ifneq ($(CROSS_LD_NO_PIE_BUG),1)
+    ifeq ($(CROSS_LD_HAS_NO_PIE),yes)
         override CROSS_LDFLAGS += -no-pie
     endif
 endif
diff --git a/decompressor/GNUmakefile b/decompressor/GNUmakefile
index 2dd015e1..e60ee72a 100644
--- a/decompressor/GNUmakefile
+++ b/decompressor/GNUmakefile
@@ -44,7 +44,7 @@ override CROSS_LDFLAGS += \
     -static \
     -T linker.ld
 
-ifneq ($(CROSS_LD_NO_PIE_BUG),1)
+ifeq ($(CROSS_LD_HAS_NO_PIE),yes)
     override CROSS_LDFLAGS += -no-pie
 endif
 
tab: 248 wrap: offon