[gs-cvs] rev 8029 - trunk/gs/src
giles at ghostscript.com
giles at ghostscript.com
Wed Jun 6 21:40:46 PDT 2007
Author: giles
Date: 2007-06-06 21:40:42 -0700 (Wed, 06 Jun 2007)
New Revision: 8029
Modified:
trunk/gs/src/lib.mak
trunk/gs/src/unix-gcc.mak
Log:
Minor cleanup of the CC_SHARED flag specification.
Modified: trunk/gs/src/lib.mak
===================================================================
--- trunk/gs/src/lib.mak 2007-06-07 03:09:16 UTC (rev 8028)
+++ trunk/gs/src/lib.mak 2007-06-07 04:40:42 UTC (rev 8029)
@@ -33,7 +33,7 @@
GLJASCC=$(CC_) $(I_)$(JPXI_) $(II)$(GLI_)$(_I) $(JPXCF_) $(GLF_)
GLLDFJB2CC=$(CC_) $(I_)$(LDF_JB2I_) $(II)$(GLI_)$(_I) $(JB2CF_) $(GLF_)
GLLWFJPXCC=$(CC_) $(I_)$(LWF_JPXI_) $(II)$(GLI_)$(_I) $(JPXCF_) $(GLF_)
-GLCCSHARED=$(CC_SHARED) $(I_)$(GLI_)$(_I) $(GLF_)
+GLCCSHARED=$(CC_SHARED) $(GLCCFLAGS)
# All top-level makefiles define GLD.
#GLD=$(GLGEN)
# Define the name of this makefile.
Modified: trunk/gs/src/unix-gcc.mak
===================================================================
--- trunk/gs/src/unix-gcc.mak 2007-06-07 03:09:16 UTC (rev 8028)
+++ trunk/gs/src/unix-gcc.mak 2007-06-07 04:40:42 UTC (rev 8029)
@@ -227,7 +227,7 @@
CFLAGS_STANDARD=-O2
CFLAGS_DEBUG=-g -O0
CFLAGS_PROFILE=-pg -O2
-CFLAGS_SO=-fPIC
+CFLAGS_SO=-fPIC -shared
# Define the other compilation flags. Add at most one of the following:
# -DBSD4_2 for 4.2bsd systems.
@@ -443,7 +443,7 @@
# These are the specific warnings we have to turn off to compile those
# specific few files that need this. We may turn off others in the future.
CC_NO_WARN=$(CC_) -Wno-cast-qual -Wno-traditional
-CC_SHARED=$(CC_) -fPIC -shared
+CC_SHARED=$(CC_) $(CFLAGS_SO)
# ---------------- End of platform-specific section ---------------- #
More information about the gs-cvs
mailing list