Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame^] | 1 | From 13e9d66c24d1dce5179805ae5e1bf940409b4914 Mon Sep 17 00:00:00 2001 |
| 2 | From: Mingli Yu <mingli.yu@windriver.com> |
| 3 | Date: Wed, 10 Aug 2022 15:21:07 +0800 |
| 4 | Subject: [PATCH] config/nspr-config.in: don't pass LDFLAGS |
| 5 | |
| 6 | Don't pass LDFLAGS to avoid exposing the build env info. |
| 7 | |
| 8 | Upstream-Status: Inappropriate [oe specific] |
| 9 | |
| 10 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> |
| 11 | --- |
| 12 | config/nspr-config.in | 2 +- |
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 14 | |
| 15 | diff --git a/config/nspr-config.in b/config/nspr-config.in |
| 16 | index 2cb62a0..2bec715 100755 |
| 17 | --- a/config/nspr-config.in |
| 18 | +++ b/config/nspr-config.in |
| 19 | @@ -136,7 +136,7 @@ if test "$echo_libs" = "yes"; then |
| 20 | if test -n "$lib_nspr"; then |
| 21 | libdirs="$libdirs -lnspr${major_version}" |
| 22 | fi |
| 23 | - os_ldflags="@LDFLAGS@" |
| 24 | + os_ldflags="LDFLAGS" |
| 25 | for i in $os_ldflags ; do |
| 26 | if echo $i | grep \^-L >/dev/null; then |
| 27 | libdirs="$libdirs $i" |
| 28 | -- |
| 29 | 2.25.1 |
| 30 | |