mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-24 17:04:02 +08:00
* 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
@ -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 New Issue
Block a user