Enable /analyze:WX- only if ENABLE_CODE_ANALYSIS is defined ...

svn path=/trunk/; revision=35951
This commit is contained in:
Bill Meier 2011-02-15 16:40:09 +00:00
parent 77047f4ea4
commit dcb5dfe207
1 changed files with 2 additions and 2 deletions

View File

@ -826,9 +826,9 @@ LOCAL_CFLAGS= $(LOCAL_CFLAGS) /MP
# Optional: Static analysis. Only supported in the full-frontal MSVC editions.
# http://msdn.microsoft.com/en-us/library/ms182025.aspx
#!IFDEF ENABLE_CODE_ANALYSIS
!IFDEF ENABLE_CODE_ANALYSIS
LOCAL_CFLAGS= $(LOCAL_CFLAGS) /analyze:WX-
#!ENDIF
!ENDIF
#STANDARD_CFLAGS is used only for Wireshark source compiles
STANDARD_CFLAGS=-DHAVE_CONFIG_H -D_U_="" $(LOCAL_CFLAGS) $(WARNINGS_CFLAGS)