From: Nikodemus Siivola Date: Sun, 27 Nov 2011 13:04:00 +0000 (-0800) Subject: make PPC/Linux buildable on ppc64 hosts X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=ecb0dd2f84a01df128d70d0f62c70c23b0e05882;p=sbcl.git make PPC/Linux buildable on ppc64 hosts --- diff --git a/contrib/sb-grovel/def-to-lisp.lisp b/contrib/sb-grovel/def-to-lisp.lisp index 7aca291..e8bcc3d 100644 --- a/contrib/sb-grovel/def-to-lisp.lisp +++ b/contrib/sb-grovel/def-to-lisp.lisp @@ -205,7 +205,7 @@ code: '("-D_LARGEFILE_SOURCE" "-D_LARGEFILE64_SOURCE" "-D_FILE_OFFSET_BITS=64") - #+(and x86 linux) '("-m32") + #+(and (or x86 ppc) linux) '("-m32") #+(and x86-64 darwin inode64) '("-arch" "x86_64" "-mmacosx-version-min=10.5" diff --git a/src/runtime/Config.ppc-linux b/src/runtime/Config.ppc-linux index f9d54cd..21fedc9 100644 --- a/src/runtime/Config.ppc-linux +++ b/src/runtime/Config.ppc-linux @@ -9,8 +9,8 @@ # provided with absolutely no warranty. See the COPYING and CREDITS # files for more information. -CFLAGS = -g -LINKFLAGS += -v -rdynamic +CFLAGS = -g -m32 +LINKFLAGS += -v -rdynamic -m32 NM = ./linux-nm ASSEM_SRC = ppc-assem.S ldso-stubs.S