aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/jit-attach-pie.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/jit-attach-pie.exp')
-rw-r--r--gdb/testsuite/gdb.base/jit-attach-pie.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/jit-attach-pie.exp b/gdb/testsuite/gdb.base/jit-attach-pie.exp
index da77a4a..eb484a3 100644
--- a/gdb/testsuite/gdb.base/jit-attach-pie.exp
+++ b/gdb/testsuite/gdb.base/jit-attach-pie.exp
@@ -21,7 +21,7 @@ standard_testfile .c
set executable ${testfile}
if { [build_executable ${testfile}.exp $executable $srcfile \
- [list debug pthreads "additional_flags=-fPIE -pie"]] } {
+ [list debug pthreads "additional_flags=-fPIE" "ldflags=-pie"]] } {
return -1
}