diff options
author | Steve Bennett <steveb@workware.net.au> | 2023-07-10 13:54:31 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2023-07-10 13:57:05 +1000 |
commit | 6a1af5b541395f4aa4ab745def9885365d60eb3a (patch) | |
tree | 51d9eb7f81364bcf16dcc6ac9eb494934d204d76 /autosetup/cc.tcl | |
parent | e7872e67777466e71a3df3b06cb60c277f4e63b1 (diff) | |
download | jimtcl-6a1af5b541395f4aa4ab745def9885365d60eb3a.zip jimtcl-6a1af5b541395f4aa4ab745def9885365d60eb3a.tar.gz jimtcl-6a1af5b541395f4aa4ab745def9885365d60eb3a.tar.bz2 |
build: update autosetup to v0.7.1-11-g9d20e8a
Mostly for update bootstrap jimsh
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'autosetup/cc.tcl')
-rw-r--r-- | autosetup/cc.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autosetup/cc.tcl b/autosetup/cc.tcl index a8aba97..f45cc2e 100644 --- a/autosetup/cc.tcl +++ b/autosetup/cc.tcl @@ -678,7 +678,7 @@ proc calc-define-output-type {name spec} { } # Initialise some values from the environment or commandline or default settings -foreach i {LDFLAGS LIBS CPPFLAGS LINKFLAGS {CFLAGS "-g -O2"}} { +foreach i {LDFLAGS LIBS CPPFLAGS LINKFLAGS CFLAGS} { lassign $i var default define $var [get-env $var $default] } @@ -727,7 +727,7 @@ foreach i {CC CXX CCACHE CPP CFLAGS CXXFLAGS CXXFLAGS LDFLAGS LIBS CROSS CPPFLAG if {[env-is-set $i]} { # Note: If the variable is set on the command line, get-env will return that value # so the command line will continue to override the environment - define-append AUTOREMAKE [quote-if-needed $i=[get-env $i ""]] + define-append-argv AUTOREMAKE $i=[get-env $i ""] } } |