mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 11:00:01 +08:00
Check global CC in at_least_gcc_version
at_least_gcc_version should check global CC. * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check global CC.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
|
||||
global CC.
|
||||
|
||||
2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
||||
|
||||
* scripttempl/avr.sc (text): Place .progmem.data from avr-libc
|
||||
|
@ -29,6 +29,7 @@ load_common_lib binutils-common.exp
|
||||
# Returns 0 otherwise.
|
||||
#
|
||||
proc at_least_gcc_version { major minor } {
|
||||
global CC
|
||||
|
||||
if {![info exists CC]} {
|
||||
set CC [find_gcc]
|
||||
|
Reference in New Issue
Block a user