aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/arm-trusted-firmware-tools/patches/001-respect-LDFLAGS.patch
blob: 0b7989163e6f52cf9b51e95f3a5d342b8ac566c9 (plain)
1
2
3
4
5
6
7
8
9
10
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}