diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2021-04-09 14:53:49 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2021-04-09 14:54:24 +0100 |
commit | 8c97d5adce0040ac38a1fb4d7954499c65f582ff (patch) | |
tree | 85d000c9482690a5181262eb6f9e693306db7a51 | |
parent | ca567f59767d633eda63e418e4eac680e16c5331 (diff) | |
download | ghostpdl-8c97d5adce0040ac38a1fb4d7954499c65f582ff.tar.gz |
Fix gstesseract cluster builds.
-rw-r--r-- | base/tesseract.mak | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/base/tesseract.mak b/base/tesseract.mak index 9971c87bf..d9fcb7a81 100644 --- a/base/tesseract.mak +++ b/base/tesseract.mak @@ -24,7 +24,11 @@ TESSINCLUDES=\ # add -DDISABLED_LEGACY_ENGINE to TESSCXX # empty TESSERACT_LEGACY -TESSCXX = $(CXX) $(TESSINCLUDES) $(TESSCXXFLAGS) $(CCFLAGS) -DTESSERACT_IMAGEDATA_AS_PIX -DTESSERACT_DISABLE_DEBUG_FONTS -DGRAPHICS_DISABLED +# We set -DCLUSTER when doing builds for our testing cluster. Unfortunately, +# this conflicts with Tesseract's use of a CLUSTER type. We work around this +# here by undefining CLUSTER for the tesseract portion of the build. + +TESSCXX = $(CXX) $(TESSINCLUDES) $(TESSCXXFLAGS) $(CCFLAGS) -DTESSERACT_IMAGEDATA_AS_PIX -DTESSERACT_DISABLE_DEBUG_FONTS -DGRAPHICS_DISABLED -UCLUSTER #-DDISABLED_LEGACY_ENGINE TESSOBJ = $(GLOBJDIR)$(D)tesseract_ TESSO_ = $(O_)$(TESSOBJ) |