diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/nested-subp3.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/nested-subp3.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/nested-subp3.exp b/gdb/testsuite/gdb.base/nested-subp3.exp index b547b8e..d0c8583 100644 --- a/gdb/testsuite/gdb.base/nested-subp3.exp +++ b/gdb/testsuite/gdb.base/nested-subp3.exp @@ -33,7 +33,7 @@ set flags {} lappend flags debug lappend flags additional_flags=-std=gnu99 -set ld_flags additional_flags=-Wl,--no-warn-execstack +set ld_flags ldflags=-Wl,--no-warn-execstack if { [gdb_can_simple_compile ld-flags {int main () { return 0; }} executable \ $ld_flags] } { lappend flags $ld_flags |