diff --git a/v2/tools/intel-linux.jam b/v2/tools/intel-linux.jam index ea1eec3ff..8a69cefc3 100644 --- a/v2/tools/intel-linux.jam +++ b/v2/tools/intel-linux.jam @@ -27,7 +27,12 @@ toolset.inherit-flags intel-linux : gcc : off on full space off all on ; - + +if [ MATCH (--debug-configuration) : [ modules.peek : ARGV ] ] +{ + .debug-configuration = true ; +} + # Initializes the intel-linux toolset # version in mandatory # name (default icc) is used to invoke the specified intellinux complier @@ -46,12 +51,12 @@ rule init ( version ? : command * : options * ) local root = [ feature.get-values : $(options) ] ; local bin ; - if $(command) + if $(command) || $(root) { bin ?= [ common.get-absolute-tool-path $(command[-1]) ] ; root ?= $(bin:D) ; - if $(command) + if $(root) { local lib_path = $(root)/lib ; if $(.debug-configuration)