summaryrefslogtreecommitdiff
path: root/recipes/emacs/emacs.inc
diff options
context:
space:
mode:
authorDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>2009-12-28 14:20:25 +0100
committerDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>2009-12-28 14:58:51 +0100
commitacbf54300f0754250362e75497f62092faf7d499 (patch)
tree6868ec4fd7d7dd9e12dbf3512009b84463cd0be7 /recipes/emacs/emacs.inc
parent969376ab44396ff23f8f628b9d5f4c8040d1cecf (diff)
emacs: added version 23.1 and fixed compilation on x86
The main advantage in this version is that the handling of fonts is a lot better: In emacs-x11 the used fonts are not tiny anymore and can easily be chosen Note that we still use qemu for bytecode compilation on x86, that is for several reasons: *The most important one is that it prevents using the host's libraries *It simplifies the recipe(no separate case when the architecture is the same ) *It should work if someone cross-compiles for x86 on his mips,arm,powerpc,sparc computer Warning: emacs_23.1 has not been tested but emacs-x11_23.1 has so putting defaullt preference to -2 in emacs_23.1
Diffstat (limited to 'recipes/emacs/emacs.inc')
-rw-r--r--recipes/emacs/emacs.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes/emacs/emacs.inc b/recipes/emacs/emacs.inc
index 0464a26706..d643d31624 100644
--- a/recipes/emacs/emacs.inc
+++ b/recipes/emacs/emacs.inc
@@ -20,8 +20,13 @@ FILES_${PN}-dbg += "${libexecdir}/emacs/*/*/.debug ${datadir}/emacs/*/*/.debug"
TREEDIR = "${WORKDIR}/qemu-treedir"
+QEMUARCH= "${TARGET_ARCH}"
+QEMUARCH_i486 = "i386"
+QEMUARCH_i586 = "i386"
+QEMUARCH_i686 = "i386"
+
# Large stack is required at least on x86_64 host, otherwise random segfaults appear:
-QEMU = "qemu-${TARGET_ARCH} ${QEMU_OPTIONS} -s 1048576 -L ${TREEDIR}"
+QEMU = "qemu-${QEMUARCH} ${QEMU_OPTIONS} -s 1048576 -L ${TREEDIR} "
export LOGNAME = "$(whoami)"