From 21fa4a96167a282c69ce6e628e7d9825e96c5530 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Mon, 29 Aug 2022 21:52:59 +0200 Subject: [PATCH] build: Update for new cross-detect --- common/GNUmakefile | 2 +- decompressor/GNUmakefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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