X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=win32%2Fmakefile.mk;h=974deb348375933b8c491d04806d779398e175cb;hb=be696b0a6b61315b71a751e7291be8d8a9066650;hp=c4a1398b1cc205fa267ed0a05a09dd4e62b71881;hpb=09d07117a25f373d4ba86aa5269d3ad5305da70d;p=p5sagit%2Fp5-mst-13.2.git diff --git a/win32/makefile.mk b/win32/makefile.mk index c4a1398..974deb3 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -437,10 +437,14 @@ PERLDLL_RES = .IF "$(CFG)" == "Debug" .IF "$(CCTYPE)" == "MSVC20" OPTIMIZE = -Od -MD -Z7 -DDEBUGGING +LINK_DBG = -debug -pdb:none .ELSE -OPTIMIZE = -Od -MD -Zi -DDEBUGGING +# -Zi requires .pdb file(s) +#OPTIMIZE = -Od -MD -Zi -DDEBUGGING +#LINK_DBG = -debug +OPTIMIZE = -O1 -MD -Z7 -DDEBUGGING +LINK_DBG = -debug -debugtype:both -pdb:none .ENDIF -LINK_DBG = -debug -pdb:none .ELSE .IF "$(CFG)" == "Optimize" # -O1 yields smaller code, which turns out to be faster than -O2