SHA256
1
0
forked from pool/emacs
emacs/emacs-22.0.99-ppc64.patch

28 lines
704 B
Diff
Raw Normal View History

--- configure.in
+++ configure.in 2007-05-15 18:09:41.118593311 +0200
@@ -799,7 +799,8 @@ dnl see the `changequote' comment above.
;;
## Macintosh PowerPC
- powerpc*-*-linux-gnu* )
+ ppc*-*-linux* | \
+ powerpc*-*-linux* )
machine=macppc opsys=gnu-linux
;;
--- src/m/macppc.h
+++ src/m/macppc.h 2007-05-15 18:11:57.673123793 +0200
@@ -85,6 +85,12 @@ Boston, MA 02110-1301, USA. */
/* NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp> says this is needed
For MkLinux/LinuxPPC. */
+#ifdef __powerpc64__
+#ifndef _ARCH_PPC64
+#define _ARCH_PPC64
+#endif
+#endif
+
#ifdef LINUX
#define LINKER $(CC) -nostdlib
/* s/gnu-linux.h defines this to `-z nocombreloc' which does not work here