Enable /analyze:WX- only if ENABLE_CODE_ANALYSIS is defined ...
svn path=/trunk/; revision=35951
This commit is contained in:
parent
77047f4ea4
commit
dcb5dfe207
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue