diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-10-21 17:59:22 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-10-21 21:28:50 +0200 |
commit | b4d67c0eb176391b6d6ff5fb3c62d79b0e50bfe0 (patch) | |
tree | 71615684c8f9c9f8007fcdf6302bb53299567648 /solenv/gbuild/gbuild.mk | |
parent | 762a33f6c80ca762c67d5f59950a98a0a7108b8d (diff) |
only enable gb_CHECKOBJECTOWNER for explicit check runs
Diffstat (limited to 'solenv/gbuild/gbuild.mk')
-rw-r--r-- | solenv/gbuild/gbuild.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk index 96044f94bceb..1cc724305cc3 100644 --- a/solenv/gbuild/gbuild.mk +++ b/solenv/gbuild/gbuild.mk @@ -126,9 +126,13 @@ else gb_FULLDEPS := $(true) endif +# Life in the fast lane: only check for duplicate objects when explicitly building check targets +# triples speed of noop builds ifeq ($(origin gb_CHECKOBJECTOWNER),undefined) +ifneq ($(filter check unitcheck subsequentcheck,$(MAKECMDGOALS)),) gb_CHECKOBJECTOWNER := $(true) endif +endif # save user-supplied flags for latter use ifneq ($(strip $(CFLAGS)),) |