summaryrefslogtreecommitdiff
path: root/xpdf
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-07-11 06:11:25 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-07-11 06:11:25 +0000
commit118b41bd41e7559fe90d49294b9647a9142ad45d (patch)
tree72036cec0a2d9b240a5b4b90bf5780d68037bd6c /xpdf
parent6d2fff40f71dacc8068a0e4da79c9ca5624f4915 (diff)
INTEGRATION: CWS thb30fixes (1.6.2); FILE MERGED
2008/06/23 09:25:08 thb 1.6.2.1: #i88228# Making sure xpdf lib is built with similar alignment under MacOS PPC
Diffstat (limited to 'xpdf')
-rw-r--r--xpdf/makefile.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/xpdf/makefile.mk b/xpdf/makefile.mk
index c9a0ac97d462..1fb4b374e249 100644
--- a/xpdf/makefile.mk
+++ b/xpdf/makefile.mk
@@ -8,7 +8,7 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.6 $
+# $Revision: 1.7 $
#
# This file is part of OpenOffice.org.
#
@@ -65,9 +65,15 @@ CXXFLAGS:=-O $(ARCH_FLAGS)
LDFLAGS:=$(ARCH_FLAGS)
.EXPORT : CFLAGS CXXFLAGS LDFLAGS
.ENDIF
+
+.IF "$(COM)$(OS)$(CPU)" == "GCCMACOSXP"
+CONFIGURE_ACTION=./configure --without-x --enable-multithreaded --enable-exceptions CXXFLAGS="-malign-natural"
+.ELSE
#CONFIGURE_ACTION=./configure
#CONFIGURE_ACTION=./configure --without-x --enable-multithreaded --enable-exceptions CFLAGS="-g -O0" CXXFLAGS="-g -O0"
CONFIGURE_ACTION=./configure --without-x --enable-multithreaded --enable-exceptions
+.ENDIF
+
BUILD_ACTION=$(GNUMAKE) -j$(EXTMAXPROCESS)
.ELSE
.IF "$(COM)"=="GCC"