From 1b39ef73fdeeae4681e7a5f0c65b74770d0951ca Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Mon, 16 Jun 2008 13:11:43 +0000 Subject: INTEGRATION: CWS hr51 (1.10.20); FILE MERGED 2008/06/06 16:23:03 hr 1.10.20.2: RESYNC: (1.10-1.11); FILE MERGED 2008/06/06 14:33:49 hr 1.10.20.1: #i88947#: Solaris 64 bit support --- setup_native/scripts/source/makefile.mk | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'setup_native/scripts') diff --git a/setup_native/scripts/source/makefile.mk b/setup_native/scripts/source/makefile.mk index e3d7c6160057..6ff2dfe0afe6 100644 --- a/setup_native/scripts/source/makefile.mk +++ b/setup_native/scripts/source/makefile.mk @@ -8,7 +8,7 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.11 $ +# $Revision: 1.12 $ # # This file is part of OpenOffice.org. # @@ -65,12 +65,17 @@ CFLAGS+=-D_KERNEL .ENDIF # this object must not be a Ultra SPARC binary, this does not -# work with /usr/bin/sort and such. +# work with /usr/bin/sort and such. Needs to be 32 bit even in +# 64 bit builds .IF "$(OS)" == "SOLARIS" -.IF "$(CPU)" == "S" .IF "$(COM)" != "GCC" +.IF "$(CPU)" == "S" ENVCFLAGS=-xarch=v8 .ENDIF +.IF "$(CPU)"=="U" +CFLAGSAPPEND+=-m32 +LINKFLAGSSHL+=-m32 +.ENDIF .ENDIF .ENDIF -- cgit v1.2.3