summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xpdf/makefile.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/xpdf/makefile.mk b/xpdf/makefile.mk
index ac3a8a0298fc..c51ceaa8540a 100644
--- a/xpdf/makefile.mk
+++ b/xpdf/makefile.mk
@@ -51,7 +51,7 @@ dummy:
# --- Files --------------------------------------------------------
TARFILE_NAME=xpdf-3.02
-PATCH_FILES=$(TARFILE_NAME).patch
+PATCH_FILE_NAME=$(TARFILE_NAME).patch
CONFIGURE_DIR=
BUILD_DIR=$(CONFIGURE_DIR)
@@ -67,7 +67,11 @@ CXXFLAGS:=$(EXTRA_CFLAGS)
.IF "$(GUI)"=="UNX"
.IF "$(OS)"=="SOLARIS"
CFLAGS:=-O $(ARCH_FLAGS)
+.IF "$(COM)$(CPU)" == "C52I"
+CXXFLAGS:=-O2 $(ARCH_FLAGS)
+.ELSE
CXXFLAGS:=-O $(ARCH_FLAGS)
+.ENDIF
LDFLAGS:=$(ARCH_FLAGS)
.EXPORT : CFLAGS CXXFLAGS LDFLAGS
.ENDIF