build: Update for new cross-detect

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

View File

@ -120,7 +120,7 @@ ifeq ($(TARGET),bios)
-static \ -static \
--build-id=sha1 --build-id=sha1
ifneq ($(CROSS_LD_NO_PIE_BUG),1) ifeq ($(CROSS_LD_HAS_NO_PIE),yes)
override CROSS_LDFLAGS += -no-pie override CROSS_LDFLAGS += -no-pie
endif endif
endif endif

View File

@ -44,7 +44,7 @@ override CROSS_LDFLAGS += \
-static \ -static \
-T linker.ld -T linker.ld
ifneq ($(CROSS_LD_NO_PIE_BUG),1) ifeq ($(CROSS_LD_HAS_NO_PIE),yes)
override CROSS_LDFLAGS += -no-pie override CROSS_LDFLAGS += -no-pie
endif endif