Have dofile.pl say where it was run
authorRichard Levitte <levitte@openssl.org>
Sun, 14 Feb 2016 05:55:45 +0000 (06:55 +0100)
committerRichard Levitte <levitte@openssl.org>
Sun, 14 Feb 2016 07:33:21 +0000 (08:33 +0100)
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Configurations/descrip.mms.tmpl
Configurations/unix-Makefile.tmpl

index d449a428952fffe82075eee6df8f36ffc6a93f8b..1091952624459ead991dfdab9f56f636e3ebe010 100644 (file)
@@ -629,7 +629,8 @@ EOF
                            rel2abs($config{builddir}));
       return <<"EOF";
 $script : $sources
-        \$(PERL) "-I\$(BUILDDIR)" "-Mconfigdata" $dofile $sources > $script
+        \$(PERL) "-I\$(BUILDDIR)" "-Mconfigdata" $dofile -
+           "-o{- $config{build_file} -}" $sources > $script
         SET FILE/PROT=(S:RWED,O:RWED,G:RE,W:RE) $script
         PURGE $script
 EOF
index fe524e187bbcfbda3077a64d90cb0352b0eef7b7..5b34df5a03620a8c558c9afba9c235782019d37f 100644 (file)
@@ -882,7 +882,8 @@ EOF
                            rel2abs($config{builddir}));
       return <<"EOF";
 $script : $sources
-       \$(PERL) "-I\$(BLDDIR)" -Mconfigdata "$dofile" $sources > "$script"
+       \$(PERL) "-I\$(BLDDIR)" -Mconfigdata "$dofile" \\
+           "-o{- $config{build_file} -}" $sources > "$script"
        chmod a+x $script
 EOF
   }