summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/ltrace/ltrace_0.3.36.bb6
1 files changed, 5 insertions, 1 deletions
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
}