diff options
Diffstat (limited to 'src/lib/libcrypto/util/pl/Mingw32.pl')
-rw-r--r-- | src/lib/libcrypto/util/pl/Mingw32.pl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/libcrypto/util/pl/Mingw32.pl b/src/lib/libcrypto/util/pl/Mingw32.pl index 8f0483fb93..fe3fb27a78 100644 --- a/src/lib/libcrypto/util/pl/Mingw32.pl +++ b/src/lib/libcrypto/util/pl/Mingw32.pl | |||
@@ -19,7 +19,7 @@ $cc='gcc'; | |||
19 | if ($debug) | 19 | if ($debug) |
20 | { $cflags="-DL_ENDIAN -DDSO_WIN32 -g2 -ggdb"; } | 20 | { $cflags="-DL_ENDIAN -DDSO_WIN32 -g2 -ggdb"; } |
21 | else | 21 | else |
22 | { $cflags="-DL_ENDIAN -DDSO_WIN32 -fomit-frame-pointer -O3 -march=i486 -Wall"; } | 22 | { $cflags="-DL_ENDIAN -DDSO_WIN32 -fomit-frame-pointer -O3 -mcpu=i486 -Wall"; } |
23 | 23 | ||
24 | if ($gaswin and !$no_asm) | 24 | if ($gaswin and !$no_asm) |
25 | { | 25 | { |
@@ -43,8 +43,6 @@ if ($gaswin and !$no_asm) | |||
43 | $rmd160_asm_src='crypto/ripemd/asm/rm-win32.s'; | 43 | $rmd160_asm_src='crypto/ripemd/asm/rm-win32.s'; |
44 | $sha1_asm_obj='$(OBJ_D)\s1-win32.o'; | 44 | $sha1_asm_obj='$(OBJ_D)\s1-win32.o'; |
45 | $sha1_asm_src='crypto/sha/asm/s1-win32.s'; | 45 | $sha1_asm_src='crypto/sha/asm/s1-win32.s'; |
46 | $cpuid_asm_obj='$(OBJ_D)\cpu-win32.o'; | ||
47 | $cpuid_asm_src='crypto/cpu-win32.s'; | ||
48 | $cflags.=" -DBN_ASM -DMD5_ASM -DSHA1_ASM -DOPENSSL_BN_ASM_PART_WORDS"; | 46 | $cflags.=" -DBN_ASM -DMD5_ASM -DSHA1_ASM -DOPENSSL_BN_ASM_PART_WORDS"; |
49 | } | 47 | } |
50 | 48 | ||
@@ -57,7 +55,7 @@ $link='${CC}'; | |||
57 | $lflags='${CFLAGS}'; | 55 | $lflags='${CFLAGS}'; |
58 | $efile='-o '; | 56 | $efile='-o '; |
59 | $exep=''; | 57 | $exep=''; |
60 | $ex_libs="-lwsock32 -lgdi32"; | 58 | $ex_libs="-lws2_32 -lgdi32"; |
61 | 59 | ||
62 | # static library stuff | 60 | # static library stuff |
63 | $mklib='ar r'; | 61 | $mklib='ar r'; |