gdb/testsuite: link some dwarf2 tests with nopie
[binutils-gdb.git] / gdb / testsuite / gdb.dwarf2 / dw2-single-line-discriminators.exp
index af816a496c0523d9e065e72d9aa124213c83ad85..9803ef829a84b415efdb61fffee768177a0789d7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2012-2017 Free Software Foundation, Inc.
+# Copyright 2012-2020 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -31,7 +31,7 @@ if {![istarget x86_64-*] || ![is_lp64_target]} {
 standard_testfile .S
 set csrcfile ${testfile}.c
 
-if { [prepare_for_testing "failed to prepare" "${testfile}" $srcfile {nodebug}] } {
+if { [prepare_for_testing "failed to prepare" "${testfile}" $srcfile {nodebug nopie}] } {
     return -1
 }