summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-support/tgt/files/0001-usr-Makefile-WARNING-fix.patch
blob: f749101491f9bb6def2b42e01476d2e1cb42b8a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 2a336ec5bf939d86425570617471df60140d839e Mon Sep 17 00:00:00 2001
From: Li xin <lixin.fnst@cn.fujitsu.com>
Date: Sun, 26 Jul 2015 04:23:51 +0900
Subject: [PATCH] usr/Makefile: WARNING fix WARNING: QA Issue: tgt:
 /work/i586-oe-linux/tgt/1.0.60+gitAUTOINC+ab51727a36-r0/
 packages-split/tgt/usr/sbin/tgtd contains probably-redundant RPATH /usr/lib
 [useless-rpaths]

Upstream-Status: pending

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
---
 usr/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr/Makefile b/usr/Makefile
index 1fae7e7..2db109c 100644
--- a/usr/Makefile
+++ b/usr/Makefile
@@ -63,7 +63,7 @@ TGTD_OBJS += tgtd.o mgmt.o target.o scsi.o log.o driver.o util.o work.o \
 
 TGTD_DEP = $(TGTD_OBJS:.o=.d)
 
-LDFLAGS = -Wl,-E,-rpath=$(libdir)
+LDFLAGS += -Wl,-E
 
 .PHONY:all
 all: $(PROGRAMS) $(MODULES)
-- 
1.8.4.2