blob: b6c674bd9de78a8deb02086525cb5e775491f174 [file] [log] [blame]
Patrick Williams03907ee2022-05-01 06:28:52 -05001From a815ac8ee16b344d9e24b445957f32bf2aafa532 Mon Sep 17 00:00:00 2001
2From: Mark Asselstine <mark.asselstine@windriver.com>
3Date: Thu, 5 Jan 2017 11:07:51 -0500
4Subject: [PATCH] usr/Makefile: apply LDFLAGS to all executables
5
6Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
7---
Patrick Williams520786c2023-06-25 16:20:36 -05008Upstream-Status: Pending
9
Patrick Williams03907ee2022-05-01 06:28:52 -050010 usr/Makefile | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13diff --git a/usr/Makefile b/usr/Makefile
14index cc8df11..c55fd68 100644
15--- a/usr/Makefile
16+++ b/usr/Makefile
17@@ -78,7 +78,7 @@ TGTADM_OBJS = tgtadm.o concat_buf.o
18 TGTADM_DEP = $(TGTADM_OBJS:.o=.d)
19
20 tgtadm: $(TGTADM_OBJS)
21- $(CC) $^ -o $@
22+ $(CC) $^ -o $@ $(LDFLAGS)
23
24 -include $(TGTADM_DEP)
25
26@@ -86,7 +86,7 @@ TGTIMG_OBJS = tgtimg.o libssc.o libcrc32c.o
27 TGTIMG_DEP = $(TGTIMG_OBJS:.o=.d)
28
29 tgtimg: $(TGTIMG_OBJS)
30- $(CC) $^ -o $@
31+ $(CC) $^ -o $@ $(LDFLAGS)
32
33 -include $(TGTIMG_DEP)
34
35--
362.7.4
37