--- ccl/lisp-kernel/solarisx64/Makefile.1 2018-10-01 12:27:34.246454391 +0000 +++ ccl/lisp-kernel/solarisx64/Makefile 2018-10-01 12:28:29.911493621 +0000 @@ -23,7 +23,7 @@ # to be adequate, but if m4 gives you any trouble, just download # the GNU m4 source from somewhere and use that. M4 = gm4 -CC = gcc +CC ?= gcc ASFLAGS = --64 --divide M4FLAGS = -DSOLARIS -DX86 -DX8664 CDEFINES = -DSOLARIS -D_REENTRANT -DX86 -DX8664 -D__EXTENSIONS__ -DHAVE_TLS -DVC_REVISION=$(VC_REVISION) #-DDISABLE_EGC @@ -39,7 +39,7 @@ .s.o: $(M4) $(M4FLAGS) -I../ $< | $(AS) $(ASFLAGS) -o $@ .c.o: - $(CC) -include ../$(PLATFORM_H) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m64 -o $@ + $(CC) -include ../$(PLATFORM_H) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(CFLAGS) $(WFORMAT) -m64 -o $@ SPOBJ = pad.o x86-spjump64.o x86-spentry64.o x86-subprims64.o ASMOBJ = x86-asmutils64.o imports.o