git://git.onelab.eu
/
build.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
whoops, was badly broken, stage1 vars got exported to next runs..
[build.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
499b3a2
..
e8c45a6
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-461,7
+461,7
@@
STATIC_VARS=PLDISTRO PLDISTROTAGS build-GITPATH PERSONALITY MAILTO BASE WEBPATH
define assigned_varname
$(if $(findstring =,$(1)),$(firstword $(subst =, ,$(1))) )
endef
define assigned_varname
$(if $(findstring =,$(1)),$(firstword $(subst =, ,$(1))) )
endef
-ASSIGNED=$(f
oreach flag,$(MAKEFLAGS),$(call assigned_varname,$(flag
)))
+ASSIGNED=$(f
ilter-out stage1 stage1iter,$(foreach flag,$(MAKEFLAGS),$(call assigned_varname,$(flag)
)))
SAVED_VARS=$(sort $(STATIC_VARS) $(ASSIGNED))
envfrompreviousrun.mk:
@echo "# do not edit" > $@
SAVED_VARS=$(sort $(STATIC_VARS) $(ASSIGNED))
envfrompreviousrun.mk:
@echo "# do not edit" > $@