diff options
author | Bernhard Heckel <bernhard.heckel@intel.com> | 2016-04-18 11:49:07 +0200 |
---|---|---|
committer | Bernhard Heckel <bernhard.heckel@intel.com> | 2016-04-18 13:57:31 +0200 |
commit | 9b9b09e9020aa32ade1a86461804a1950d967abb (patch) | |
tree | 1f61f6c4a99383d651f82d73090cdeba1a071ac9 /gdb/testsuite/lib | |
parent | a14d1f4dfc08edc8fe92b17b36a55d89203fb89f (diff) | |
download | gdb-9b9b09e9020aa32ade1a86461804a1950d967abb.zip gdb-9b9b09e9020aa32ade1a86461804a1950d967abb.tar.gz gdb-9b9b09e9020aa32ade1a86461804a1950d967abb.tar.bz2 |
Testsuite: Fix compiling of shared libraries with ICC.
We are missing "-fpic" flag when compiling shared libraries with ICC.
2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
gdb/Testsuite/Changelog:
* lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 0d8a3b0..8b0241d 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -3553,6 +3553,9 @@ proc gdb_compile_shlib {sources dest options} { lappend obj_options "additional_flags=-fpic" } } + "icc-*" { + lappend obj_options "additional_flags=-fpic" + } default { # don't know what the compiler is... } |