diff mbox

[v5,19/19] infra-libtool: no longer force sys_lib_search_path

Message ID 1482241596-31688-20-git-send-email-jezz@sysmic.org
State Changes Requested
Headers show

Commit Message

Jérôme Pouiller Dec. 20, 2016, 1:46 p.m. UTC
Commit 6246704008 forced $sys_lib_search_path_spec to be empty. Commit log said
that it was filled with native paths. However, recent tests show that
$sys_lib_search_path_spec is correctly filled with result of
`$CC -print-search-dirs' as it should.

So this patch remove this workaround.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
---
 package/Makefile.in | 1 -
 1 file changed, 1 deletion(-)

Comments

Arnout Vandecappelle March 18, 2017, 5:47 p.m. UTC | #1
On 20-12-16 14:46, Jérôme Pouiller wrote:
> Commit 6246704008 forced $sys_lib_search_path_spec to be empty. Commit log said
> that it was filled with native paths. However, recent tests show that
> $sys_lib_search_path_spec is correctly filled with result of
> `$CC -print-search-dirs' as it should.

 I guess that that's due to passing --with-sysroot, no?

> 
> So this patch remove this workaround.
                      ^s

> 
> Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>


Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
(tested on a static arm musl build with about 20 packages)


 Regards,
 Arnout

> ---
>  package/Makefile.in | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/package/Makefile.in b/package/Makefile.in
> index 6a341f2..ee43985 100644
> --- a/package/Makefile.in
> +++ b/package/Makefile.in
> @@ -354,7 +354,6 @@ TARGET_CONFIGURE_ARGS = \
>  	ac_cv_func_malloc_0_nonnull=yes \
>  	ac_cv_func_calloc_0_nonnull=yes \
>  	ac_cv_func_realloc_0_nonnull=yes \
> -	lt_cv_sys_lib_search_path_spec="" \
>  	lt_cv_sys_lib_dlsearch_path_spec="/lib /usr/lib $(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib" \
>  	$(BR2_AC_CV_C_BIGENDIAN) \
>  	$(BR2_GT_CV_FUNC_GNUGETTEXT_LIBC)
>
diff mbox

Patch

diff --git a/package/Makefile.in b/package/Makefile.in
index 6a341f2..ee43985 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -354,7 +354,6 @@  TARGET_CONFIGURE_ARGS = \
 	ac_cv_func_malloc_0_nonnull=yes \
 	ac_cv_func_calloc_0_nonnull=yes \
 	ac_cv_func_realloc_0_nonnull=yes \
-	lt_cv_sys_lib_search_path_spec="" \
 	lt_cv_sys_lib_dlsearch_path_spec="/lib /usr/lib $(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib" \
 	$(BR2_AC_CV_C_BIGENDIAN) \
 	$(BR2_GT_CV_FUNC_GNUGETTEXT_LIBC)