Fix for asm/no-asm on WIN32.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 13 Aug 2007 02:24:26 +0000 (02:24 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 13 Aug 2007 02:24:26 +0000 (02:24 +0000)
crypto/Makefile
util/mk1mf.pl

index e5b5b0781b1f9f6dc0f5ab4894669fa692a978af..af2cac96d4ca55536c537fc8ba8488935d855aba 100644 (file)
@@ -26,6 +26,7 @@ EX_LIBS=
 CFLAGS= $(INCLUDE) $(CFLAG)
 ASFLAGS= $(INCLUDE) $(ASFLAG)
 AFLAGS=$(ASFLAGS)
+CPUID_OBJ=mem_clr.o
 
 LIBS=
 
index 15579363fc8baaeb0164fea452b4d96c3c5221ef..b5e13c3575f456e216f413e2c1d9b296797db0ba 100755 (executable)
@@ -677,7 +677,7 @@ foreach (values %lib_nam)
                }
        if (($cpuid_asm_obj ne "") && ($_ eq "CRYPTO"))
                {
-               $lib_obj =~ s/\s(\S*\/cversion\S*)/ $1 \$(CPUID_ASM_OBJ)/;
+               $lib_obj =~ s/\s\S*\/mem_clr\S*/ \$(CPUID_ASM_OBJ)/;
                $rules.=&do_asm_rule($cpuid_asm_obj,$cpuid_asm_src);
                }
        $defs.=&do_defs(${_}."OBJ",$lib_obj,"\$(OBJ_D)",$obj);