mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
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.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
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>
|
2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
|
||||||
|
|
||||||
* lib/compiler.c: Add Intel specific preprocessor macros.
|
* lib/compiler.c: Add Intel specific preprocessor macros.
|
||||||
|
@ -3553,6 +3553,9 @@ proc gdb_compile_shlib {sources dest options} {
|
|||||||
lappend obj_options "additional_flags=-fpic"
|
lappend obj_options "additional_flags=-fpic"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
"icc-*" {
|
||||||
|
lappend obj_options "additional_flags=-fpic"
|
||||||
|
}
|
||||||
default {
|
default {
|
||||||
# don't know what the compiler is...
|
# don't know what the compiler is...
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user