Patchwork [core] gcc-package: add libgcc_s to libgcc provides.

login
register
mail settings
Submitter Jacob Kjaergaard
Date Sept. 30, 2013, 6:16 a.m.
Message ID <1380521788-6296-1-git-send-email-jabk@prevas.dk>
Download mbox | patch
Permalink /patch/278921/
State Accepted
Delegated to: Esben Haabendal
Headers show

Comments

Jacob Kjaergaard - Sept. 30, 2013, 6:16 a.m.
From: Jacob Kjaergaard <jacob.kjaergaard@prevas.dk>

This was found through package qa and will probably be a common problem
for all recipes that link against libgcc.

-Jacob

---
 recipes/crosstool-ng/gcc-package.inc |    1 +
 1 file changed, 1 insertion(+)
Esben Haabendal - Oct. 14, 2013, 11:16 a.m.
<jabk@prevas.dk> writes:

> From: Jacob Kjaergaard <jacob.kjaergaard@prevas.dk>
>
> This was found through package qa and will probably be a common problem
> for all recipes that link against libgcc.
>
> -Jacob
>
> ---
>  recipes/crosstool-ng/gcc-package.inc |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/recipes/crosstool-ng/gcc-package.inc b/recipes/crosstool-ng/gcc-package.inc
> index 6befe9c..0b38e1f 100644
> --- a/recipes/crosstool-ng/gcc-package.inc
> +++ b/recipes/crosstool-ng/gcc-package.inc
> @@ -263,6 +263,7 @@ ${base_prefix}/${TARGET_ARCH}/sysroot${target_datadir}/locale \
>  ${base_prefix}/${TARGET_ARCH}/sysroot${target_datadir}/i18n \
>  "
>  
> +PROVIDES_${PN}-sysroot-libgcc += "libgcc_s"
>  FILES_${PN}-sysroot-libgcc = "\
>  ${base_prefix}/${TARGET_ARCH}/sysroot${target_base_libdir}/libgcc_s.so.* \
>  "

Merged to master, thanks.

/Esben

Patch

diff --git a/recipes/crosstool-ng/gcc-package.inc b/recipes/crosstool-ng/gcc-package.inc
index 6befe9c..0b38e1f 100644
--- a/recipes/crosstool-ng/gcc-package.inc
+++ b/recipes/crosstool-ng/gcc-package.inc
@@ -263,6 +263,7 @@  ${base_prefix}/${TARGET_ARCH}/sysroot${target_datadir}/locale \
 ${base_prefix}/${TARGET_ARCH}/sysroot${target_datadir}/i18n \
 "
 
+PROVIDES_${PN}-sysroot-libgcc += "libgcc_s"
 FILES_${PN}-sysroot-libgcc = "\
 ${base_prefix}/${TARGET_ARCH}/sysroot${target_base_libdir}/libgcc_s.so.* \
 "