* config/unix.exp: Add global before seeing if the variables for
nm, objdump, and size exist.
This commit is contained in:
parent
2031a59499
commit
00d8666550
1 changed files with 6 additions and 0 deletions
|
@ -21,21 +21,27 @@
|
|||
|
||||
load_lib util-defs.exp
|
||||
|
||||
global NM
|
||||
if ![info exists NM] then {
|
||||
set NM [transform nm]
|
||||
}
|
||||
global NMFLAGS
|
||||
if ![info exists NMFLAGS] then {
|
||||
set NMFLAGS ""
|
||||
}
|
||||
global SIZE
|
||||
if ![info exists SIZE] then {
|
||||
set SIZE [transform size]
|
||||
}
|
||||
global SIZEFLAGS
|
||||
if ![info exists SIZEFLAGS] then {
|
||||
set SIZEFLAGS ""
|
||||
}
|
||||
global OBJDUMP
|
||||
if ![info exists OBJDUMP] then {
|
||||
set OBJDUMP [transform objdump]
|
||||
}
|
||||
global OBJDUMPFLAGS
|
||||
if ![info exists OBJDUMPFLAGS] then {
|
||||
set OBJDUMPFLAGS ""
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue