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