diff options
Diffstat (limited to 'compiler/systems/t_sunos.pas')
-rw-r--r-- | compiler/systems/t_sunos.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/systems/t_sunos.pas b/compiler/systems/t_sunos.pas index 63788fd288..f369acaa77 100644 --- a/compiler/systems/t_sunos.pas +++ b/compiler/systems/t_sunos.pas @@ -143,12 +143,12 @@ procedure TLinkersolaris.SetDefaultInfo; } {$ifdef x86_64} const - gld = 'gld -m elf_x86_64 '; + gld = 'gld -m elf_x86_64_sol2 '; solaris_ld = '/usr/bin/ld -64 '; {$endif} {$ifdef i386} const - gld = 'gld '; + gld = 'gld -m elf_i386_sol2 '; solaris_ld = '/usr/bin/ld '; {$endif } {$ifdef sparc} |