From 00174cdb8311fc82196f4bc6f2e7330c1bd115a6 Mon Sep 17 00:00:00 2001 From: Zaoqi Date: Mon, 1 Jul 2019 12:14:59 +0800 Subject: [PATCH] fix #872 --- compiler/main.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/main.v b/compiler/main.v index ca0d0095bb..11c15a3ac9 100644 --- a/compiler/main.v +++ b/compiler/main.v @@ -415,7 +415,7 @@ string _STR_TMP(const char *fmt, ...) { fn (v mut V) cc() { linux_host := os.user_os() == 'linux' v.log('cc() isprod=$v.pref.is_prod outname=$v.out_name') - mut a := ['-w']// arguments for the C compiler + mut a := ['-w', '-march=native']// arguments for the C compiler flags := v.table.flags.join(' ') /* mut shared := ''