blob: 13a86e65d1864e99063689d4943e9399c624a2fa [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001From 90fbc3423b5ccdbd54b5851c32b9f92c6658d634 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 6 Jan 2023 17:30:24 -0800
4Subject: [PATCH] Do not emit useless rpath
5
6rpath is pointing to standard libdir which is un-used and yocto build QA
7flag it, there is no need to set rpaths when building in this
8environment
9
10Fixes
11do_package_qa: QA Issue: trace-cmd: /usr/bin/trace-cmd contains probably-redundant RPATH /usr/lib [useless-rpaths]
12
13Upstream-Status: Inappropriate [OE-Specific]
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 scripts/utils.mk | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/scripts/utils.mk b/scripts/utils.mk
20index 3fc2d74f..309a8599 100644
21--- a/scripts/utils.mk
22+++ b/scripts/utils.mk
23@@ -64,7 +64,7 @@ do_compile = \
24
25 do_app_build = \
26 ($(print_app_build) \
27- $(CC) $^ -rdynamic -Wl,-rpath=$(libdir) -o $@ $(LDFLAGS) $(CONFIG_LIBS) $(LIBS))
28+ $(CC) $^ -rdynamic -o $@ $(LDFLAGS) $(CONFIG_LIBS) $(LIBS))
29
30 do_build_static_lib = \
31 ($(print_static_lib_build) \
32--
332.39.0
34