aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-21 22:57:26 -0500
committerMike Frysinger <vapier@gentoo.org>2021-11-26 13:28:15 -0500
commitc099934746ab8d7059411c77acc56fc6d149bbf4 (patch)
tree076cbd17730f599c8b67e3f58334a65482ae5a67 /sim
parentaa1b9bdef2a66205e34b0a62c80d8b1b70268825 (diff)
downloadgdb-c099934746ab8d7059411c77acc56fc6d149bbf4.zip
gdb-c099934746ab8d7059411c77acc56fc6d149bbf4.tar.gz
gdb-c099934746ab8d7059411c77acc56fc6d149bbf4.tar.bz2
sim: testsuite: drop unused global_cc_options
Nothing in the testsuite is using this setting, so let's drop it. Any code that wants to set compiler flags can use CFLAGS_FOR_TARGET instead to get the same effect.
Diffstat (limited to 'sim')
-rw-r--r--sim/testsuite/lib/sim-defs.exp6
1 files changed, 1 insertions, 5 deletions
diff --git a/sim/testsuite/lib/sim-defs.exp b/sim/testsuite/lib/sim-defs.exp
index adf1369..91b8b5a 100644
--- a/sim/testsuite/lib/sim-defs.exp
+++ b/sim/testsuite/lib/sim-defs.exp
@@ -187,7 +187,6 @@ proc run_sim_test { name requested_machs } {
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]] {
@@ -228,9 +227,6 @@ proc run_sim_test { name requested_machs } {
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 ""
}
@@ -341,7 +337,7 @@ proc run_sim_test { name requested_machs } {
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] {