diff options
author | marha <marha@users.sourceforge.net> | 2009-07-30 13:57:37 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-07-30 13:57:37 +0000 |
commit | 85ba8ca70b151174e473110bb6122df1a0ecd6ea (patch) | |
tree | bb2eb7efbf9b2f07bf4b164369ee445f7361e503 /openssl/util/pl/VC-32.pl | |
parent | 274f23da5a7a1cfa3f542047072517d30a384b61 (diff) | |
download | vcxsrv-85ba8ca70b151174e473110bb6122df1a0ecd6ea.tar.gz vcxsrv-85ba8ca70b151174e473110bb6122df1a0ecd6ea.tar.bz2 vcxsrv-85ba8ca70b151174e473110bb6122df1a0ecd6ea.zip |
Changes in ms\nt.mak for doing a DEBUG build without running Configur again.
Specify DEBUG=1 on the command line when running nmake. The output will be in the out32_d directory.
Diffstat (limited to 'openssl/util/pl/VC-32.pl')
-rw-r--r-- | openssl/util/pl/VC-32.pl | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/openssl/util/pl/VC-32.pl b/openssl/util/pl/VC-32.pl index 85121c8ed..0ab339767 100644 --- a/openssl/util/pl/VC-32.pl +++ b/openssl/util/pl/VC-32.pl @@ -107,13 +107,13 @@ elsif ($FLAVOR =~ /CE/) } else # Win32 { - $base_cflags=' /W3 /WX /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32'; + $base_cflags=' /W3 /GF /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32'; $base_cflags.=' -D_CRT_SECURE_NO_DEPRECATE'; # shut up VC8 $base_cflags.=' -D_CRT_NONSTDC_NO_DEPRECATE'; # shut up VC8 - my $f = $shlib || $fips ?' /MD':' /MT'; + my $f = ' /MD'; $lib_cflag='/Zl' if (!$shlib); # remove /DEFAULTLIBs from static lib - $opt_cflags=$f.' /Ox /O2 /Ob2'; - $dbg_cflags=$f.'d /Od -DDEBUG -D_DEBUG'; + $opt_cflags=$f.' /O2 /Ob2 /Oi /Ox /Oy /Ot'; + $dbg_cflags=$f.'d /RTCc /RTC1 /Od /GS /GR /Zi'; $lflags="/nologo /subsystem:console /opt:ref"; } $mlflags=''; @@ -131,6 +131,7 @@ if ($debug) else { $cflags=$opt_cflags.$base_cflags; + $cdflags=$dbg_cflags.$base_cflags; } $obj='.obj'; @@ -161,6 +162,7 @@ else if ($FLAVOR =~ /NT/) { $cflags.=" -DOPENSSL_SYSNAME_WINNT -DUNICODE -D_UNICODE"; + $cdflags.=" -DOPENSSL_SYSNAME_WINNT -DUNICODE -D_UNICODE"; $ex_libs="unicows.lib $ex_libs"; } # static library stuff @@ -226,6 +228,7 @@ if (!$no_asm) $cpuid_asm_obj='crypto\cpu_win32.obj'; $cpuid_asm_src='crypto\cpu_win32.asm'; $cflags.=" -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DAES_ASM -DBN_ASM -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_BN_ASM_MONT -DMD5_ASM -DSHA1_ASM -DRMD160_ASM"; + $cdflags.=" -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DAES_ASM -DBN_ASM -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_BN_ASM_MONT -DMD5_ASM -DSHA1_ASM -DRMD160_ASM"; } elsif ($FLAVOR =~ "WIN64A") { @@ -281,7 +284,8 @@ elsif ($shlib && $FLAVOR =~ /CE/) $tmp_def='tmp32dll_$(TARGETCPU)'; } -$cflags.=" /Fd$out_def"; +$cflags.=" /Fd\$(OUT_D)"; +$cdflags.=" /Fd\$(OUT_D)"; sub do_lib_rule { |