mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
nspr: fix buildpaths issue
Fixes: WARNING: nspr-4.29-r0 do_package_qa: QA Issue: File /usr/bin/nspr-config in package nspr-dev contains reference to TMPDIR [buildpaths] Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
From 13e9d66c24d1dce5179805ae5e1bf940409b4914 Mon Sep 17 00:00:00 2001
|
||||
From: Mingli Yu <mingli.yu@windriver.com>
|
||||
Date: Wed, 10 Aug 2022 15:21:07 +0800
|
||||
Subject: [PATCH] config/nspr-config.in: don't pass LDFLAGS
|
||||
|
||||
Don't pass LDFLAGS to avoid exposing the build env info.
|
||||
|
||||
Upstream-Status: Inappropriate [oe specific]
|
||||
|
||||
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
|
||||
---
|
||||
config/nspr-config.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/config/nspr-config.in b/config/nspr-config.in
|
||||
index 2cb62a0..2bec715 100755
|
||||
--- a/config/nspr-config.in
|
||||
+++ b/config/nspr-config.in
|
||||
@@ -136,7 +136,7 @@ if test "$echo_libs" = "yes"; then
|
||||
if test -n "$lib_nspr"; then
|
||||
libdirs="$libdirs -lnspr${major_version}"
|
||||
fi
|
||||
- os_ldflags="@LDFLAGS@"
|
||||
+ os_ldflags="LDFLAGS"
|
||||
for i in $os_ldflags ; do
|
||||
if echo $i | grep \^-L >/dev/null; then
|
||||
libdirs="$libdirs $i"
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -12,6 +12,7 @@ SRC_URI = "http://ftp.mozilla.org/pub/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz
|
||||
file://0002-Add-nios2-support.patch \
|
||||
file://0001-md-Fix-build-with-musl.patch \
|
||||
file://Makefile.in-remove-_BUILD_STRING-and-_BUILD_TIME.patch \
|
||||
file://0001-config-nspr-config.in-don-t-pass-LDFLAGS.patch \
|
||||
file://nspr.pc.in \
|
||||
"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user