summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-09-17 18:51:58 +0000
committerMichael Lauer <mickey@vanille-media.de>2006-09-17 18:51:58 +0000
commitcfa86ac7586c81fae2396306a77671f13dee3e3d (patch)
treeaae5cd2efd948621b91ba2b8817fa25d09222c58 /packages
parentfe19af2a7b10cd2ea44569116e70dee01b086073 (diff)
ltrace: fix building for ARCH=i686 and ARCH=i586
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
}