bare: ArchLinux fix?

pull/2764/head
Alexander Medvednikov 2019-11-14 22:18:22 +03:00
parent a8b5c00939
commit 2dcb8b3bb0
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ fn (v mut V) cc() {
v.out_name = v.out_name + '.so' v.out_name = v.out_name + '.so'
} }
if v.pref.is_bare { if v.pref.is_bare {
a << '-nostdlib $vdir/vlib/os/bare/bare.S' a << '-static -nostdlib $vdir/vlib/os/bare/bare.S'
} }
if v.pref.build_mode == .build_module { if v.pref.build_mode == .build_module {
// Create the modules & out directory if it's not there. // Create the modules & out directory if it's not there.