From 2dcb8b3bb04abb792a004c981c5b359100adafdd Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Thu, 14 Nov 2019 22:18:22 +0300 Subject: [PATCH] bare: ArchLinux fix? --- vlib/compiler/cc.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/compiler/cc.v b/vlib/compiler/cc.v index 09b0361a7b..7975d635bf 100644 --- a/vlib/compiler/cc.v +++ b/vlib/compiler/cc.v @@ -110,7 +110,7 @@ fn (v mut V) cc() { v.out_name = v.out_name + '.so' } 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 { // Create the modules & out directory if it's not there.