From 902adf89fb799835bd4a7fd70d056757997ac2e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Fri, 23 Jan 1998 03:35:00 +0100 Subject: [PATCH] Now supports other compilers than gcc on Solaris for purify et al. Rev: src/Makefile.in:1.53 --- src/Makefile.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index 82c2aa31d9..985063b215 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -57,6 +57,8 @@ OTHERFLAGS=@CFLAGS@ @CPPFLAGS@ $(OSFLAGS) $(OPTIMIZE) $(WARN) $(PROFIL) NOOPTFLAGS=@CFLAGS@ @CPPFLAGS@ $(OSFLAGS) $(WARN) $(PROFIL) CFLAGS=$(PREFLAGS) $(OTHERFLAGS) +SMARTLINK=@SMARTLINK@ +REALCC=@REALCC@ CC=@CC@ CPP=@CPP@ @@ -130,17 +132,17 @@ pike: $(OBJ) compile_interpret modules/linker_options # purify pure: $(OBJ) compile_interpret module_objects -@mv pike pike.old 2>/dev/null || true - purify -free-queue-length=500 -inuse-at-exit=yes -chain-length=12 gcc $(LDFLAGS) $(OBJ) interpret.o `cat modules/linker_options` $(LIBS) -o pike + $(SMARTLINK) purify -free-queue-length=500 -inuse-at-exit=yes -chain-length=12 $(REALCC) $(LDFLAGS) $(OBJ) interpret.o `cat modules/linker_options` $(LIBS) -o pike # purecov cover: $(OBJ) compile_interpret module_objects -@mv pike pike.old 2>/dev/null || true - purecov purify -free-queue-length=500 -inuse-at-exit=yes -chain-length=12 gcc $(LDFLAGS) $(OBJ) interpret.o `cat modules/linker_options` $(LIBS) -o pike + $(SMARTLINK) purecov purify -free-queue-length=500 -inuse-at-exit=yes -chain-length=12 $(REALCC) $(LDFLAGS) $(OBJ) interpret.o `cat modules/linker_options` $(LIBS) -o pike # quantify quant: $(OBJ) compile_interpret module_objects -@mv pike pike.old 2>/dev/null || true - quantify gcc $(LDFLAGS) $(OBJ) interpret.o `cat modules/linker_options` $(LIBS) -o pike + $(SMARTLINK) quantify $(REALCC) $(LDFLAGS) $(OBJ) interpret.o `cat modules/linker_options` $(LIBS) -o pike # Several optimizers have problems with interpret.c # First try compiling with optimization and if that doesn't work, without. -- GitLab