[oe] [PATCH] libacpi: SET OE LDFLAGS in recipe

Tom Rini tom_rini at mentor.com
Sun Feb 20 21:32:38 UTC 2011


On 02/20/2011 01:12 PM, Pau Espin Pedrol wrote:
> Fixes ld problem related to GNU_HASH
> ---
>   recipes/libacpi/libacpi_0.2.bb |    2 ++
>   1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/recipes/libacpi/libacpi_0.2.bb b/recipes/libacpi/libacpi_0.2.bb
> index 458fc30..77d266b 100644
> --- a/recipes/libacpi/libacpi_0.2.bb
> +++ b/recipes/libacpi/libacpi_0.2.bb
> @@ -14,6 +14,8 @@ FILES_${PN}-bin = "${bindir}"
>
>   COMPATIBLE_HOST = '(x86_64|i.86.*)-(linux|freebsd.*)'
>
> +EXTRA_OEMAKE = "LDFLAGS='${LDFLAGS}'"
> +
>   do_install() {
>   	oe_runmake install DESTDIR=${D} PREFIX=${exec_prefix}
>   }

Note, in the future please see 
http://wiki.openembedded.org/index.php/How_to_submit_a_patch_to_OpenEmbedded 
and be sure to included a Signed-off-by line.  Thanks again for your 
contribution!

-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-devel mailing list