From patchwork Fri Apr 20 16:44:53 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [CONSOLIDATED, PULL, 02/43] rt-tests: fix dependency on eglibc, clean LDFLAGS passing Date: Fri, 20 Apr 2012 16:44:53 -0000 From: Saul Wold X-Patchwork-Id: 26257 Message-Id: To: openembedded-core@lists.openembedded.org From: Denys Dmytriyenko Replace dependency on eglibc with virtual/libc Pass LDFLAGS to TARGET_CC_ARCH, instead of CFLAGS as Makefile overrides it Signed-off-by: Denys Dmytriyenko --- meta/recipes-rt/rt-tests/rt-tests_0.83.bb | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/meta/recipes-rt/rt-tests/rt-tests_0.83.bb b/meta/recipes-rt/rt-tests/rt-tests_0.83.bb index 6c4931e..e38ada9 100644 --- a/meta/recipes-rt/rt-tests/rt-tests_0.83.bb +++ b/meta/recipes-rt/rt-tests/rt-tests_0.83.bb @@ -18,8 +18,7 @@ SRC_URI = "git://github.com/clrkwllms/rt-tests.git \ S = "${WORKDIR}/git" -# need to append rt-tests' default CFLAGS to ours -CFLAGS += "-I${S}/src/include -D_GNU_SOURCE -Wall -Wno-nonnulli" +TARGET_CC_ARCH += "${LDFLAGS}" # calling 'uname -m' is broken on crossbuilds EXTRA_OEMAKE = "NUMA=0"