|
|
@ -2467,7 +2467,9 @@ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47485''')) |
|
|
|
# Add linker args for linking this target derived from 'base' build |
|
|
|
# Add linker args for linking this target derived from 'base' build |
|
|
|
# options passed on the command-line, in default_options, etc. |
|
|
|
# options passed on the command-line, in default_options, etc. |
|
|
|
# These have the lowest priority. |
|
|
|
# These have the lowest priority. |
|
|
|
if not isinstance(target, build.StaticLibrary): |
|
|
|
if isinstance(target, build.StaticLibrary): |
|
|
|
|
|
|
|
commands += linker.get_base_link_args(self.get_base_options_for_target(target)) |
|
|
|
|
|
|
|
else: |
|
|
|
commands += compilers.get_base_link_args(self.get_base_options_for_target(target), |
|
|
|
commands += compilers.get_base_link_args(self.get_base_options_for_target(target), |
|
|
|
linker, |
|
|
|
linker, |
|
|
|
isinstance(target, build.SharedModule)) |
|
|
|
isinstance(target, build.SharedModule)) |
|
|
|