diff options
author | Richard Levitte <levitte@openssl.org> | 2016-05-16 09:48:15 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-05-16 11:15:57 +0200 |
commit | 592b6fb489c97be2b039ab671647aa58a472204a (patch) | |
tree | 5b49ef8da3beba500f20ef1d7fc4e69863c096b8 /Configurations/windows-makefile.tmpl | |
parent | Fix some missing OBJ_dup failure checks. (diff) | |
download | openssl-592b6fb489c97be2b039ab671647aa58a472204a.tar.xz openssl-592b6fb489c97be2b039ab671647aa58a472204a.zip |
Small MSVC build fixes.
- "/Ox /O2 /Ob2" get's reduced to "/O2", the reason being:
/Ox = /Ob2 /Og /Oi /Ot /Oy /Gs
/O2 = /Ob2 /Og /Oi /Ot /Oy /Gs /GF /Gy
- apps/openssl.cnf gets installed.
- always delete files quietly, as they might not be there.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1075)
Diffstat (limited to '')
-rw-r--r-- | Configurations/windows-makefile.tmpl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl index 408a87fc6e..b04d850e6d 100644 --- a/Configurations/windows-makefile.tmpl +++ b/Configurations/windows-makefile.tmpl @@ -168,7 +168,7 @@ uninstall: uninstall_docs uninstall_sw libclean: $(PERL) -e "map { m/(.*)\.dll$$/; unlink glob """$$1.*"""; } @ARGV" $(SHLIBS) -del /Q /F $(LIBS) - -del ossl_static.pdb + -del /Q ossl_static.pdb clean: libclean -del /Q /F $(PROGRAMS) $(TESTPROGS) $(ENGINES) $(SCRIPTS) @@ -195,6 +195,8 @@ uninstall_docs: install_ssldirs: @$(PERL) $(SRCDIR)\util\mkdir-p.pl "$(DESTDIR)$(OPENSSLDIR)\certs" @$(PERL) $(SRCDIR)\util\mkdir-p.pl "$(DESTDIR)$(OPENSSLDIR)\private" + @$(PERL) $(SRCDIR)\util\copy.pl $(SRCDIR)\apps\openssl.cnf \ + "$(DESTDIR)$(OPENSSLDIR)" install_dev: @if "$(INSTALLTOP)"=="" ( echo INSTALLTOP should not be empty & exit 1 ) @@ -390,8 +392,8 @@ $target: $deps $ordinalsfile $mkdef_pl /implib:\$@ \$(LDOUTFLAG)$shlib$shlibext /def:$shlib.def @<< || (DEL /Q \$(\@B).* $shlib.* && EXIT 1) $objs $shlib.res$linklibs \$(EX_LIBS) << - DEL /F apps\\$shlib$shlibext - DEL /F test\\$shlib$shlibext + DEL /Q /F apps\\$shlib$shlibext + DEL /Q /F test\\$shlib$shlibext COPY $shlib$shlibext apps COPY $shlib$shlibext test EOF |