diff options
Diffstat (limited to 'gdb/testsuite/gdb.threads/gcore-thread.exp')
-rw-r--r-- | gdb/testsuite/gdb.threads/gcore-thread.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.threads/gcore-thread.exp b/gdb/testsuite/gdb.threads/gcore-thread.exp index d9820d6..748831e 100644 --- a/gdb/testsuite/gdb.threads/gcore-thread.exp +++ b/gdb/testsuite/gdb.threads/gcore-thread.exp @@ -35,7 +35,7 @@ if [istarget "*-*-linux"] then { set opts [list debug] if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${objfile}" object $opts] != "" - || ([gdb_compile_pthreads "${objfile}" "${binfile}" executable [concat $opts {additional_flags=-Wl,-z,norelro}] ] != "" + || ([gdb_compile_pthreads "${objfile}" "${binfile}" executable [concat $opts {ldflags=-Wl,-z,norelro}] ] != "" && [gdb_compile_pthreads "${objfile}" "${binfile}" executable $opts] != "") } { return -1 } |