blob: 078ba9ef50c3a6f56e4748afa07f7ac483902319 [file] [log] [blame]
Patrick Williams03907ee2022-05-01 06:28:52 -05001From 6f4e3b11c7dccf83e2d18635c84837b212dfcc1c Mon Sep 17 00:00:00 2001
2From: Li xin <lixin.fnst@cn.fujitsu.com>
3Date: Sun, 26 Jul 2015 04:23:51 +0900
4Subject: [PATCH] usr/Makefile: WARNING fix WARNING: QA Issue: tgt:
5 /work/i586-oe-linux/tgt/1.0.60+gitAUTOINC+ab51727a36-r0/
6 packages-split/tgt/usr/sbin/tgtd contains probably-redundant RPATH /usr/lib
7 [useless-rpaths]
8
9Upstream-Status: pending
10
11Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
12
13---
14 usr/Makefile | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/usr/Makefile b/usr/Makefile
18index 9ff8f15..cc8df11 100644
19--- a/usr/Makefile
20+++ b/usr/Makefile
21@@ -63,7 +63,7 @@ TGTD_OBJS += tgtd.o mgmt.o target.o scsi.o log.o driver.o util.o work.o \
22
23 TGTD_DEP = $(TGTD_OBJS:.o=.d)
24
25-LDFLAGS = -Wl,-E,-rpath=$(libdir)
26+LDFLAGS += -Wl,-E
27
28 .PHONY:all
29 all: $(PROGRAMS) $(MODULES)