aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/break-on-linker-gcd-function.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/break-on-linker-gcd-function.exp')
-rw-r--r--gdb/testsuite/gdb.base/break-on-linker-gcd-function.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/break-on-linker-gcd-function.exp b/gdb/testsuite/gdb.base/break-on-linker-gcd-function.exp
index b1c93f6..3435c8f 100644
--- a/gdb/testsuite/gdb.base/break-on-linker-gcd-function.exp
+++ b/gdb/testsuite/gdb.base/break-on-linker-gcd-function.exp
@@ -28,7 +28,7 @@ if { [skip_cplus_tests] } { continue }
standard_testfile .cc
if {[build_executable_from_specs $testfile.exp $testfile \
- {c++ additional_flags=-Wl,--gc-sections} \
+ {c++ ldflags=-Wl,--gc-sections} \
$srcfile {debug c++ additional_flags=-ffunction-sections}]} {
untested "failed to compile"
return -1