1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

os_linux.v

This commit is contained in:
Alexander Medvednikov
2019-11-15 03:17:47 +03:00
parent 1dadf9d966
commit d1b8d34dd5
7 changed files with 84 additions and 27 deletions

View File

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