From c8a781bf7773b6be233a0d1314d252307f309ef2 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Thu, 19 Sep 2019 16:05:17 +0300 Subject: [PATCH] disable -compress on windows --- compiler/cc.v | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler/cc.v b/compiler/cc.v index fb29845ddb..ab40368d35 100644 --- a/compiler/cc.v +++ b/compiler/cc.v @@ -240,6 +240,10 @@ fn (v mut V) cc() { os.rm(v.out_name_c) } if v.pref.compress { + $if windows { + println('-compress does not work on Windows for now') + return + } ret := os.system('strip $v.out_name') if ret != 0 { println('strip failed')