From 8243f9be779ca6d0ddf5b869a4232a7ec5752cab Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Wed, 17 May 2017 21:26:57 +0000 Subject: [PATCH] fix quirks with specifying msvc --- sh/compile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sh/compile b/sh/compile index d38adb9..396cc19 100755 --- a/sh/compile +++ b/sh/compile @@ -88,7 +88,7 @@ compile() { echo -n "usage: compile [" >&2 [ -n "$clang" ] && print_separated "clang" [ -n "$gcc" ] && print_separated "gcc" - [ -n "$cl" ] && print_separated "cl" + [ -n "$cl" ] && print_separated "msvc" echo "] [debug|derelease|release|hardened] [flags...] {source file}" >&2 return 1 fi @@ -115,7 +115,7 @@ compile() { if [ $CC = cl ]; then our_flags+=(-nologo -utf-8) - local debug_flags=(-Od -Zi -ZI -sdl); + local debug_flags=(-Od -ZI -sdl); local release_flags=(-Ox) local dr_flags=(-Ox -Zi) local hardened_flags=(-Ox -sdl)