From 0d44035668a3d8fa022f19203b8e91e77ee8268f Mon Sep 17 00:00:00 2001
From: toy <toy>
Date: Thu, 4 Sep 2003 13:54:32 +0000
Subject: [PATCH] Use the new variables from internals.inc to get the right
 compiler options and files.

---
 lisp/Config.sun4_solaris_gcc | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/lisp/Config.sun4_solaris_gcc b/lisp/Config.sun4_solaris_gcc
index 33a144416..504c91703 100644
--- a/lisp/Config.sun4_solaris_gcc
+++ b/lisp/Config.sun4_solaris_gcc
@@ -22,14 +22,21 @@ vpath %.S .:$(PATH1)
 # instructions, even if we don't use the 64-bit registers.
 
 #CC_V8PLUS = -xarch=v8plus
+ifdef FEATURE_SPARC_V9
 AS_V8PLUS = -Wa,-xarch=v8plus
+endif
 
 # Enable support for :linkage-table feature.
 
+ifdef FEATURE_LINKAGE_TABLE
 LINKAGE = -DLINKAGE_TABLE
+endif
 
 # Enable support for generational GC
+ifdef FEATURE_GENCGC
 GENCGC = -DGENCGC
+GC_SRC = gencgc.c
+endif
 
 CPPFLAGS = -I. -I$(PATH1) -I/usr/openwin/include -I/usr/include/X11 -DSOLARIS -DSOLARIS25 -DSVR4 $(CC_V8PLUS) $(LINKAGE) $(GENCGC)
 
@@ -52,9 +59,3 @@ ARCH_SRC = sparc-arch.c
 OS_SRC = solaris-os.c os-common.c undefineds.c elf.c
 OS_LINK_FLAGS=
 OS_LIBS= -lsocket -lnsl -ldl
-
-# Use this with generational GC
-GC_SRC = gencgc.c
-
-# Use this when not using generational GC
-# GC_SRC = gc.c
-- 
GitLab