build: Update for new cross-detect

This commit is contained in:
mintsuki 2022-08-29 21:52:59 +02:00
parent 9eade7fa0f
commit 21fa4a9616
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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