Diff

Differences From Artifact [15e2d8c10c]:

To Artifact [1c1dcdc43a]:


    65     65   			}
    66     66   			"threaded" {
    67     67   				if {$value} {
    68     68   					lappend args "--enable-threads"
    69     69   				} else {
    70     70   					lappend args "--disable-threads"
    71     71   				}
           72  +			}
           73  +			"debug" {
           74  +				if {$value} {
           75  +					lappend args "--enable-symbols"
           76  +					set ::env(STRIP) true
           77  +				}
    72     78   			}
    73     79   			"storage" {
    74     80   				lappend args "--enable-kit-storage=$value"
    75     81   			}
    76     82   			"staticmk4" {
    77     83   			}
    78     84   			"statictk" {
................................................................................
    81     87   	}
    82     88   
    83     89   	catch {
    84     90   		exec ./build/pre.sh
    85     91   	}
    86     92   
    87     93   	catch {
    88         -		set fd [open "${outfile}.log" w]
    89         -		puts $fd "Running: [list $script $buildinfo(tcl_version) {*}$args]"
           94  +		file delete "${outfile}.log"
           95  +	}
           96  +
           97  +	catch {
           98  +		set cmd [list $script $buildinfo(tcl_version) {*}$args]
           99  +		set fd [open "${outfile}.log" w+]
          100  +		puts $fd "Running: $cmd"
    90    101   		close $fd
    91         -		exec $script $buildinfo(tcl_version) {*}$args > "${outfile}.log" 2>@1
          102  +	}
          103  +
          104  +	catch {
          105  +		exec {*}$cmd >> "${outfile}.log" 2>@1
    92    106   	}
    93    107   
    94    108   	catch {
    95    109   		exec grep ^ {*}[glob */build.log] >> "${outfile}.log"
    96    110   	}
    97    111   
    98    112   	foreach file [list tclkit-$buildinfo(tcl_version) {*}[glob -nocomplain libtclkit*]] {