diff options
author | Henry Stiles <henry.stiles@artifex.com> | 2007-11-28 07:18:42 +0000 |
---|---|---|
committer | Henry Stiles <henry.stiles@artifex.com> | 2007-11-28 07:18:42 +0000 |
commit | ecc3ca220517dd075f0fb421fae658ffb984927b (patch) | |
tree | 3b61317d38f4d50817c87cdd23e58c06ce21c9cb /common | |
parent | a820831f9278d4a23a93656c11a30d618a138c31 (diff) |
CCAUX was not initialized properly on some platforms. This resulted
in compliling genarch.c without the proper cpp flags. In particular,
ARCH_SIZEOF_GX_COLOR_INDEX must be derived from the preprocessor
definition for GX_COLOR_INDEX_TYPE if the rest of the code is compiled
with the definition. Sigh, what a mess!
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2980 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'common')
-rw-r--r-- | common/gccdefs.mak | 2 | ||||
-rw-r--r-- | common/ugcc_top.mak | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/common/gccdefs.mak b/common/gccdefs.mak index 0f9e4e1fd..2ed231a68 100644 --- a/common/gccdefs.mak +++ b/common/gccdefs.mak @@ -5,4 +5,4 @@ # Definitions for compilation with gcc. CC_=gcc $(GENOPT) $(CFLAGS) $(XCFLAGS) -c -CCAUX=gcc +CCAUX=gcc $(CFLAGS) diff --git a/common/ugcc_top.mak b/common/ugcc_top.mak index 9f24b5156..61c749b16 100644 --- a/common/ugcc_top.mak +++ b/common/ugcc_top.mak @@ -66,6 +66,7 @@ $(GENDIR)/ldgs.tr: FORCE -mkdir $(GLGENDIR) -mkdir $(GLOBJDIR) $(MAKE) \ + CCAUX='$(CCAUX)'\ GCFLAGS='$(GCFLAGS)' FPU_TYPE='$(FPU_TYPE)'\ CONFIG='$(CONFIG)' FEATURE_DEVS='$(FEATURE_DEVS)' \ XINCLUDE='$(XINCLUDE)' XLIBDIRS='$(XLIBDIRS)' XLIBDIR='$(XLIBDIR)' XLIBS='$(XLIBS)' \ @@ -119,6 +120,7 @@ $(GENDIR)/ldgs.tr: FORCE -mkdir $(GLOBJDIR) touch $(GLOBJDIR)/gs_init.ps $(MAKE) \ + CCAUX='$(CCAUX)'\ GCFLAGS='$(GCFLAGS)' FPU_TYPE='$(FPU_TYPE)'\ CONFIG='$(CONFIG)' FEATURE_DEVS='$(FEATURE_DEVS)' \ XINCLUDE='$(XINCLUDE)' XLIBDIRS='$(XLIBDIRS)' XLIBDIR='$(XLIBDIR)' XLIBS='$(XLIBS)' \ |