build: Update for new cross-detect
diff --git a/common/GNUmakefile b/common/GNUmakefile
index 5094eac0..ebd3b7e9 100644
--- a/common/GNUmakefile
+++ b/common/GNUmakefile
@@ -120,7 +120,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
