diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-05 15:38:09 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-05 17:39:03 +0300 |
commit | ed1de7f939d6aed75b115359515fadafa810c76c (patch) | |
tree | 4281721adbb9fe4e08f9975c5b230def86492f0b /solenv/inc/wntmsc.mk | |
parent | c1c115ccf70a631292b4f96409bb068af1392a52 (diff) |
Unclear whether the use of -Z7 -Yd in CFLAGSENABLESYMBOLS is intentional
The -Yd option is deprecated anyway and generates an ugly warning
"option 'Yd' has been deprecated and will be removed in a future
release" for each file compiled in an --enable-symbol or
--enable-debug build now.
So just use the same as in gbuild for now, only -Zi for both
CFLAGSENABLESYMBOLS and CFLAGSDEBUG. Let the .pdb file be in its
default location.
Diffstat (limited to 'solenv/inc/wntmsc.mk')
-rw-r--r-- | solenv/inc/wntmsc.mk | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/solenv/inc/wntmsc.mk b/solenv/inc/wntmsc.mk index 4d7a305b9e77..57a7f9047749 100644 --- a/solenv/inc/wntmsc.mk +++ b/solenv/inc/wntmsc.mk @@ -99,9 +99,10 @@ CDEFS+= -D_AMD64_=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -D_CR CFLAGS+= -Gy .ENDIF # "$(product)" != "" -# flags to enable build with symbols; required for crashdump feature -#CFLAGSENABLESYMBOLS=-Zi -Fd$(MISC)/_ooo_st_$(TARGET).PDB -CFLAGSENABLESYMBOLS=-Z7 -Yd +# Flags to enable build with symbols; old comment said "required for crashdump feature" +# but unclear if that is true or not any more; just use the same as CFLAGSDEBUG for now. +# That is what we do in gbuild anyway... +CFLAGSENABLESYMBOLS=-Zi .IF "$(bndchk)" != "" .IF "$(debug)" == "" @@ -148,7 +149,7 @@ CDEFSOBJMT+=-D_DLL .ENDIF # "$(DYNAMIC_CRT)"!="" CFLAGSPROF=-Gh -Fd$(MISC)/$(@:b).pdb -CFLAGSDEBUG=-Zi -Fd$(MISC)/$(@:b).pdb +CFLAGSDEBUG=-Zi CFLAGSDBGUTIL= .IF "$(VC_STANDARD)"=="" CFLAGSOPT=-Oxs -Oy- |