Commit a923563f authored by Raymond Toy's avatar Raymond Toy
Browse files

Clean up variables.

 Config.sparc_common::
 * Use += instead of = for CPPFLAGS and CFLAGS

 Config.sparc_gcc:
 * Move options from CC to CFLAGS.

 Config.sparc_gcc:
 * Move options from CC to CFLAGS.
 * Add DEPEND_FLAGS with appropriate options.
parent c6075ebc
......@@ -46,10 +46,10 @@ ifdef FEATURE_UNICODE
UNICODE = -DUNICODE
endif
CPPFLAGS = -I. -I$(PATH1) -DSOLARIS -DSVR4 $(CC_V8PLUS) $(LINKAGE) $(GENCGC) $(UNICODE) $(SSE2)
CPPFLAGS += -I. -I$(PATH1) -DSOLARIS -DSVR4 $(CC_V8PLUS) $(LINKAGE) $(GENCGC) $(UNICODE) $(SSE2)
CFLAGS = -g $(CC_V8PLUS)
CFLAGS += -g $(CC_V8PLUS)
NM = $(PATH1)/solaris-nm
ASSEM_SRC = sparc-assem.S
......
......@@ -24,7 +24,8 @@ endif
# and SIGSEGV) to lisp properly.
#
CC = gcc -O -Wall
CPP = gcc -E
CC = gcc
CPP = gcc
CFLAGS += -O -Wall
DEPEND_FLAGS = -MM
ASFLAGS = -g -traditional-cpp $(AS_V8PLUS)
......@@ -20,7 +20,8 @@ CC_V8PLUS = -m32 -xarch=sparc
AS_V8PLUS = -m32 -xarch=sparc
endif
CC = cc -xlibmieee -O
CPP = cc -E
DEPEND_FLAGS = -xM
CC = cc
CPP = cc
CFLAGS += -xlibmieee -O
DEPEND_FLAGS = -E -xM
ASFLAGS = $(AS_V8PLUS)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment