global cpu_option_sep
global global_as_options
global global_ld_options
- global global_cc_options
global global_sim_options
if ![file exists [sim_tool_path]] {
if ![info exists global_ld_options] {
set global_ld_options ""
}
- if ![info exists global_cc_options] {
- set global_cc_options ""
- }
if ![info exists global_sim_options] {
set global_sim_options ""
}
if [string match "*.c" $sourcefile] {
set comp_output [target_compile $sourcefile ${name}.x "executable" \
- [list "incdir=$srcdir/$subdir" "additional_flags=$c_as_options $c_ld_options $opts(cc,$mach) $global_cc_options"]]
+ [list "incdir=$srcdir/$subdir" "additional_flags=$c_as_options $c_ld_options $opts(cc,$mach)"]]
set method "compiling/linking"
} else {
if [string match "*.S" $sourcefile] {