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.
+2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
+
+ * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
+
2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
* lib/compiler.c: Add Intel specific preprocessor macros.
lappend obj_options "additional_flags=-fpic"
}
}
+ "icc-*" {
+ lappend obj_options "additional_flags=-fpic"
+ }
default {
# don't know what the compiler is...
}