diff options
author | Daniel De Graaf <danieldg@inspircd.org> | 2010-05-07 13:39:49 -0500 |
---|---|---|
committer | Daniel De Graaf <danieldg@inspircd.org> | 2010-05-07 14:04:53 -0500 |
commit | df347edbdbb6d1d0f81795214674da8a4007850a (patch) | |
tree | 287ad3751d923ff14ea9a2506c2bcdfeee4332f2 /make/template | |
parent | e11ae4f39cbcd169e725b680015d73c127f4a70e (diff) |
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.
Diffstat (limited to 'make/template')
-rw-r--r-- | make/template/main.mk | 6 |
1 files changed, 4 insertions, 2 deletions
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 |