Patchwork libacpi: Fix GNU_HASH problem

login
register
mail settings
Submitter Yasir Khan
Date Jan. 13, 2014, 11:57 a.m.
Message ID <1389614277-40372-1-git-send-email-yasir_khan@mentor.com>
Download mbox | patch
Permalink /patch/64627/
State New
Headers show

Comments

Yasir Khan - Jan. 13, 2014, 11:57 a.m.
From: Yasir-Khan <yasir_khan@mentor.com>

Fixes GNU_HASH problem by adding LDFLAGS to TARGET_CC_ARCH

Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
---
 meta/recipes-bsp/libacpi/libacpi_0.2.bb |    2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta/recipes-bsp/libacpi/libacpi_0.2.bb b/meta/recipes-bsp/libacpi/libacpi_0.2.bb
index f4c323d..2d222e7 100644
--- a/meta/recipes-bsp/libacpi/libacpi_0.2.bb
+++ b/meta/recipes-bsp/libacpi/libacpi_0.2.bb
@@ -23,6 +23,8 @@  COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)'
 CFLAGS += "-fPIC"
 EXTRA_OEMAKE += 'STRIP="echo"'
 
+TARGET_CC_ARCH += "${LDFLAGS}"
+
 do_install() {
 	oe_runmake install DESTDIR=${D} PREFIX=${exec_prefix}
 }