diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-08-08 01:09:59 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-08-08 01:09:59 -0400 |
commit | 7f991fe569fc0562c9d67b3a473f9a4dda8dbc4d (patch) | |
tree | a758411b1801383f766065affcb7911e3475c1e2 /build-aux/Makefile.tail.mk | |
parent | 2abe0f2d527c7b3f6b97bd6519bf0e35a266ea68 (diff) |
speed up
Diffstat (limited to 'build-aux/Makefile.tail.mk')
-rw-r--r-- | build-aux/Makefile.tail.mk | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/build-aux/Makefile.tail.mk b/build-aux/Makefile.tail.mk index 136e483837..aeba2d1b09 100644 --- a/build-aux/Makefile.tail.mk +++ b/build-aux/Makefile.tail.mk @@ -21,12 +21,10 @@ _at.tmp_targets := $(at.targets) _at.tmp_subdirs := $(call at.addprefix,$(outdir),$(at.subdirs)) # Clean the environment -$(foreach _at.tmp_variable,$(filter-out _at.tmp_variable $(_at.VARIABLES),$(.VARIABLES)), \ - $(foreach _at.tmp_target,$(_at.tmp_targets), \ - $(if $(filter recursive,$(flavor $(_at.tmp_variable))), \ - $(eval $(_at.tmp_target): private $(_at.tmp_variable) = $(subst $(at.nl),$$(at.nl),$(value $(_at.tmp_variable)))), \ - $(eval $(_at.tmp_target): private $(_at.tmp_variable) := $$($(_at.tmp_variable))))) \ - $(eval undefine $(_at.tmp_variable))) +$(eval \ + $(foreach _at.tmp_variable,$(filter-out _at.tmp_variable $(_at.VARIABLES),$(.VARIABLES)),\ + $(call _at.target_variable,$(_at.tmp_targets),$(_at.tmp_variable))$(at.nl)\ + undefine $(_at.tmp_variable)$(at.nl))) # Recurse $(foreach _at.NO_ONCE,y,\ |