Diff

Differences From Artifact [5643d5fd0a]:

To Artifact [92bcf20d68]:


    80     80   					lappend args "--enable-threads"
    81     81   				} else {
    82     82   					lappend args "--disable-threads"
    83     83   				}
    84     84   			}
    85     85   			"debug" {
    86     86   				if {$value} {
    87         -					lappend args "--enable-symbols"
           87  +					lappend args "--enable-symbols" 
    88     88   					set ::env(STRIP) true
           89  +					set ::env(KC_TCL_CFLAGS) -DPURIFY=1
           90  +					set ::env(KC_TK_CFLAGS) -DPURIFY=1
    89     91   				}
    90     92   			}
    91     93   			"storage" {
    92     94   				lappend args "--enable-kit-storage=$value"
    93     95   			}
    94     96   			"dynamictk" {
    95     97   				if {$value} {
................................................................................
   138    140   	}
   139    141   
   140    142   	catch {
   141    143   		set cmd [list $script $buildinfo(tcl_version) {*}$args]
   142    144   		set fd [open "${outfile}.log" w+]
   143    145   		puts $fd "Running: export KITCREATOR_PKGS=\"$::env(KITCREATOR_PKGS)\""
   144    146   
   145         -		foreach variable [list STRIP STATICTK KITCREATOR_MINENCODINGS KITCREATOR_MINBUILD KC_TLS_LINKSSLSTATIC KC_TLS_BUILDSSL KC_TCL_STATICPKGS KC_TCL_UTF_MAX] {
          147  +		foreach variable [list STRIP STATICTK KITCREATOR_MINENCODINGS KITCREATOR_MINBUILD KC_TLS_LINKSSLSTATIC KC_TLS_BUILDSSL KC_TCL_STATICPKGS KC_TCL_UTF_MAX KC_TCL_CFLAGS KC_TK_CFLAGS] {
   146    148   			if {[info exists ::env($variable)]} {
   147    149   				puts $fd "Running: export $variable=\"$::env($variable)\""
   148    150   			}
   149    151   		}
   150    152   
   151    153   		puts $fd "Running: $cmd"
   152    154   		close $fd