[oe] [PATCH] libcap: Append `-fPIC` to `CFLAGS` to fix compilation on newer binutils/ld. (was: [gcc 4.4.2] [libcap, vdr] relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC)
Phil Blundell
philb at gnu.org
Thu Jan 21 22:20:12 UTC 2010
On Sat, 2010-01-16 at 14:59 +0100, Paul Menzel wrote:
> --- a/recipes/libcap/libcap_1.10.bb
> +++ b/recipes/libcap/libcap_1.10.bb
> @@ -3,9 +3,9 @@ PRIORITY = "optional"
> SECTION = "libs"
> LICENSE = "GPL"
> DEPENDS = "bison-native flex-native"
> -PR = "r1"
> +PR = "r2"
>
> -CFLAGS_append = " -I${S}/libcap/include"
> +CFLAGS_append = " -I${S}/libcap/include -fPIC"
>
Thanks for the patch. I checked this in.
p.
More information about the Openembedded-devel
mailing list