From: Daniel Golle Date: Wed, 10 Feb 2021 19:18:04 +0000 (+0000) Subject: arm-trusted-firmware-tools: add patch to pass LDFLAGS X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dba76a85de598077d6519a313838c2f5ed73a12c;p=openwrt%2Fstaging%2Frobimarko.git arm-trusted-firmware-tools: add patch to pass LDFLAGS This should hopefully fix builds on the buildbot. Signed-off-by: Daniel Golle --- diff --git a/package/boot/arm-trusted-firmware-tools/patches/001-respect-LDFLAGS.patch b/package/boot/arm-trusted-firmware-tools/patches/001-respect-LDFLAGS.patch new file mode 100644 index 0000000000..0b7989163e --- /dev/null +++ b/package/boot/arm-trusted-firmware-tools/patches/001-respect-LDFLAGS.patch @@ -0,0 +1,11 @@ +--- a/tools/fiptool/Makefile ++++ b/tools/fiptool/Makefile +@@ -38,7 +38,7 @@ + + ${PROJECT}: ${OBJECTS} Makefile + @echo " HOSTLD $@" +- ${Q}${HOSTCC} ${OBJECTS} -o $@ ${LDLIBS} ++ ${Q}${HOSTCC} ${OBJECTS} -o $@ ${LDLIBS} $(LDFLAGS) + @${ECHO_BLANK_LINE} + @echo "Built $@ successfully" + @${ECHO_BLANK_LINE}