mirror of
https://github.com/notwa/rc
synced 2024-06-25 16:57:12 -07:00
fix quirks with specifying msvc
This commit is contained in:
parent
79366bed63
commit
8243f9be77
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user