From df347edbdbb6d1d0f81795214674da8a4007850a Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Fri, 7 May 2010 13:39:49 -0500 Subject: Use unit-cc for all compile and and link tasks This allows splitting .o and .so generation for distcc builds, and also removes some unneeded autodetection of build stage. --- make/template/main.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'make/template') diff --git a/make/template/main.mk b/make/template/main.mk index 0ee3c5f67..bb6bdc182 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -78,19 +78,21 @@ CXXFLAGS += -Iinclude @IFDEF V RUNCC = $(CC) + RUNLD = $(CC) VERBOSE = -v @ELSE @GNU_ONLY MAKEFLAGS += --silent @BSD_ONLY MAKE += -s RUNCC = perl $(SOURCEPATH)/make/run-cc.pl $(CC) + RUNLD = perl $(SOURCEPATH)/make/run-cc.pl $(CC) @ENDIF @IFDEF PURE_STATIC CXXFLAGS += -DPURE_STATIC @ENDIF -@DO_EXPORT RUNCC CXXFLAGS CC LDLIBS PICLDFLAGS VERBOSE SOCKETENGINE CORELDFLAGS PURE_STATIC -@DO_EXPORT SOURCEPATH BUILDPATH +@DO_EXPORT RUNCC RUNLD CXXFLAGS LDLIBS PICLDFLAGS VERBOSE SOCKETENGINE CORELDFLAGS +@DO_EXPORT SOURCEPATH BUILDPATH PURE_STATIC SPLIT_CC # Default target TARGET = all -- cgit v1.2.3