0001-usr-Makefile-WARNING-fix.patch 854 B

1234567891011121314151617181920212223242526272829
  1. From 6f4e3b11c7dccf83e2d18635c84837b212dfcc1c Mon Sep 17 00:00:00 2001
  2. From: Li xin <lixin.fnst@cn.fujitsu.com>
  3. Date: Sun, 26 Jul 2015 04:23:51 +0900
  4. Subject: [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. Upstream-Status: Pending
  9. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
  10. ---
  11. usr/Makefile | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. diff --git a/usr/Makefile b/usr/Makefile
  14. index 9ff8f15..cc8df11 100644
  15. --- a/usr/Makefile
  16. +++ b/usr/Makefile
  17. @@ -63,7 +63,7 @@ TGTD_OBJS += tgtd.o mgmt.o target.o scsi.o log.o driver.o util.o work.o \
  18. TGTD_DEP = $(TGTD_OBJS:.o=.d)
  19. -LDFLAGS = -Wl,-E,-rpath=$(libdir)
  20. +LDFLAGS += -Wl,-E
  21. .PHONY:all
  22. all: $(PROGRAMS) $(MODULES)