summaryrefslogtreecommitdiff
path: root/make/template/main.mk
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2016-04-04 15:37:33 +0100
committerPeter Powell <petpow@saberuk.com>2016-06-27 00:35:16 +0100
commit0d7d6a9d0909f014e7557b84b2115ca6ff387bf9 (patch)
treec30ee3ee8702b6eed330921eff562fe8bc9939bc /make/template/main.mk
parentff53aa7282437bf5159ec8a8d8949457c25b29a4 (diff)
Pass INSPIRCD_VERBOSE through the environment to unit-cc.
Diffstat (limited to 'make/template/main.mk')
-rw-r--r--make/template/main.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/make/template/main.mk b/make/template/main.mk
index bc854630a..bff065736 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -114,12 +114,9 @@ FOOTER = finishmessage
@TARGET GNU_MAKE SOURCEPATH = $(shell /bin/pwd)
@TARGET BSD_MAKE SOURCEPATH != /bin/pwd
-@IFDEF INSPIRCD_VERBOSE
- VERBOSE = -v
-@ELSE
+@IFNDEF INSPIRCD_VERBOSE
@TARGET GNU_MAKE MAKEFLAGS += --silent
@TARGET BSD_MAKE MAKE += -s
- VERBOSE =
@ENDIF
@IFDEF INSPIRCD_STATIC
@@ -130,7 +127,7 @@ FOOTER = finishmessage
# things like -Wfatal-errors if they wish to.
CORECXXFLAGS += $(CXXFLAGS)
-@DO_EXPORT CXX CORECXXFLAGS LDLIBS PICLDFLAGS VERBOSE SOCKETENGINE CORELDFLAGS
+@DO_EXPORT CXX CORECXXFLAGS LDLIBS PICLDFLAGS INSPIRCD_VERBOSE SOCKETENGINE CORELDFLAGS
@DO_EXPORT SOURCEPATH BUILDPATH INSPIRCD_STATIC
# Default target