From: Richard Levitte Date: Sun, 14 Feb 2016 05:55:45 +0000 (+0100) Subject: Have dofile.pl say where it was run X-Git-Tag: OpenSSL_1_1_0-pre3~21 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4b799ceaa2e7e8cace68813f469ccc1cb0a3be64;p=oweals%2Fopenssl.git Have dofile.pl say where it was run Reviewed-by: Viktor Dukhovni --- diff --git a/Configurations/descrip.mms.tmpl b/Configurations/descrip.mms.tmpl index d449a42895..1091952624 100644 --- a/Configurations/descrip.mms.tmpl +++ b/Configurations/descrip.mms.tmpl @@ -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 diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index fe524e187b..5b34df5a03 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -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 }