mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-17 17:19:35 +08:00
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>
This commit is contained in:
parent
134874848c
commit
4bef68a84e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user