Kaydet (Commit) fbbd5e5c authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

do not globally export gb_Helper_execute gb_Helper_set_ld_path

üst ddc71f65
...@@ -31,6 +31,7 @@ define gb_CustomTarget__command ...@@ -31,6 +31,7 @@ define gb_CustomTarget__command
+$(call gb_Helper_abbreviate_dirs,\ +$(call gb_Helper_abbreviate_dirs,\
mkdir -p $(call gb_CustomTarget_get_workdir,$(2)) && \ mkdir -p $(call gb_CustomTarget_get_workdir,$(2)) && \
gb_AWK=$(gb_AWK) gb_XSLTPROC=$(gb_XSLTPROC) GBUILDDIR=$(GBUILDDIR) SRCDIR=$(SRCDIR) \ gb_AWK=$(gb_AWK) gb_XSLTPROC=$(gb_XSLTPROC) GBUILDDIR=$(GBUILDDIR) SRCDIR=$(SRCDIR) \
gb_Helper_set_ld_path=$(gb_Helper_set_ld_path) gb_Helper_execute=$(gb_Helper_execute) \
$(MAKE) -C $(call gb_CustomTarget_get_workdir,$(2)) -f $< && \ $(MAKE) -C $(call gb_CustomTarget_get_workdir,$(2)) -f $< && \
touch $(1)) touch $(1))
......
...@@ -168,9 +168,6 @@ define gb_Helper_execute ...@@ -168,9 +168,6 @@ define gb_Helper_execute
$(call gb_Helper_set_ld_path) $(OUTDIR_FOR_BUILD)/bin/$(1) $(call gb_Helper_set_ld_path) $(OUTDIR_FOR_BUILD)/bin/$(1)
endef endef
export gb_Helper_set_ld_path
export gb_Helper_execute
# gb_Helper_OUTDIRLIBDIR is set by the platform to the path the dynamic linker need to use # gb_Helper_OUTDIRLIBDIR is set by the platform to the path the dynamic linker need to use
# for libraries from the OUTDIR # for libraries from the OUTDIR
......
...@@ -50,7 +50,7 @@ fetch: $(SRCDIR)/src.downloaded ...@@ -50,7 +50,7 @@ fetch: $(SRCDIR)/src.downloaded
# fixme: can we prevent these exports in the first place? # fixme: can we prevent these exports in the first place?
$(SRCDIR)/Env.Host.sh: autogen.lastrun configure.in ooo.lst.in set_soenv.in $(SRCDIR)/Env.Host.sh: autogen.lastrun configure.in ooo.lst.in set_soenv.in
$(if $(gb_MINISOLARENV),unset gb_Helper_execute gb_Helper_set_ld_path && $(SRCDIR)/autogen.sh,@echo "cannot reconfigure from within solarenv" && rm -f $(SRCDIR)/Env.Host.sh && exit 2) $(if $(gb_MINISOLARENV),$(SRCDIR)/autogen.sh,@echo "cannot reconfigure from within solarenv" && rm -f $(SRCDIR)/Env.Host.sh && exit 2)
$(WORKDIR)/bootstrap: $(WORKDIR)/bootstrap:
@cd $(SRCDIR) && ./bootstrap @cd $(SRCDIR) && ./bootstrap
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment