diff options
author | H. Peter Anvin <hpa@zytor.com> | 2016-03-08 00:50:13 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2016-03-08 00:50:13 -0800 |
commit | 4bef68a84e1ddd2dad5ec895338bc4920c46a83b (patch) | |
tree | 9cc84322e32e4b0aeed103a5f68c4479aef7297e | |
parent | 134874848c5a61fbb1c8568dab4f4f00d48325e4 (diff) | |
download | nasm-4bef68a84e1ddd2dad5ec895338bc4920c46a83b.tar.gz |
msvc.mak: /Ox and /Oy are redundant with /O2
Per the MSVC++ docs, /Ox and /Oy are redundant with /O2, and the docs
recommend that they do not be used together.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | Mkfiles/msvc.mak | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Mkfiles/msvc.mak b/Mkfiles/msvc.mak index a2775719..890ad43d 100644 --- a/Mkfiles/msvc.mak +++ b/Mkfiles/msvc.mak @@ -5,6 +5,9 @@ # # Make sure to put the appropriate directories in your PATH, in # the case of MSVC++ 2005, they are ...\VC\bin and ...\Common7\IDE. +# +# This is typically done by opening the Visual Studio Command Prompt. +# top_srcdir = . srcdir = . @@ -18,7 +21,7 @@ mandir = $(prefix)/man CFLAGS = /Od /Zi LDFLAGS = /DEBUG !ELSE -CFLAGS = /O2 /Ox /Oy +CFLAGS = /O2 !ENDIF CC = cl |