]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.ada/catch_ex_std.exp
[gdb/testsuite] Don't pass -fPIC to gdb_compile_shlib
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.ada / catch_ex_std.exp
index c5a0a93559437d03b272c510478749dfedec95d7..d49cbab93df9127706431ff1c4e36795eeda7095 100644 (file)
@@ -29,8 +29,7 @@ set sofile [standard_output_file libsome_package.so]
 set outdir [file dirname $binfile]
 
 # Create the shared library.
-if {[gdb_compile_shlib $srcfile2 $sofile \
-        {ada debug additional_flags=-fPIC}] != ""} {
+if {[gdb_compile_shlib $srcfile2 $sofile {ada debug}] != ""} {
     return -1
 }