From cfa86ac7586c81fae2396306a77671f13dee3e3d Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Sun, 17 Sep 2006 18:51:58 +0000 Subject: ltrace: fix building for ARCH=i686 and ARCH=i586 --- packages/ltrace/ltrace_0.3.36.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'packages/ltrace') diff --git a/packages/ltrace/ltrace_0.3.36.bb b/packages/ltrace/ltrace_0.3.36.bb index 1e2ff5394b..12ed4f8d13 100644 --- a/packages/ltrace/ltrace_0.3.36.bb +++ b/packages/ltrace/ltrace_0.3.36.bb @@ -10,7 +10,7 @@ SRC_URI = "ftp://ftp.debian.org/debian/pool/main/l/ltrace/ltrace_0.3.36.orig.tar inherit autotools PARALLEL_MAKE = "" -EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} \ +EXTRA_OEMAKE = "ARCH=${LTRACE_ARCH} \ INSTALL_FILE='$(INSTALL) -p -m 0644' \ INSTALL_PROGRAM='$(INSTALL) -p -m 0755' \ INSTALL_SCRIPT='$(INSTALL) -p -m 0755' \ @@ -18,6 +18,10 @@ EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} \ export TARGET_CFLAGS = "${SELECTED_OPTIMIZATION} -isystem ${STAGING_DIR}/${TARGET_SYS}/include" +LTRACE_ARCH = ${TARGET_ARCH} +LTRACE_ARCH_i686 = "i386" +LTRACE_ARCH_i586 = "i386" + do_configure_prepend() { ln -sf ./linux-gnu sysdeps/linux-gnueabi } -- cgit v1.2.3