diff --git a/compiler/systems/t_sunos.pas b/compiler/systems/t_sunos.pas index 98e10cb8b1..f369acaa77 100644 --- a/compiler/systems/t_sunos.pas +++ b/compiler/systems/t_sunos.pas @@ -148,7 +148,7 @@ const {$endif} {$ifdef i386} const - gld = 'gld '; + gld = 'gld -m elf_i386_sol2 '; solaris_ld = '/usr/bin/ld '; {$endif } {$ifdef sparc}