1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

build-openssl.bat/build-wolfssl.bat: Build platform is optional

Whilst the compiler parameter is mandatory, platform is optional as it
is automatically calculated by the :configure section.

This partially reverts commit 6d62d2c55d.
This commit is contained in:
Steve Holme 2018-02-06 19:35:13 +00:00
parent dc85437736
commit ff07089585
2 changed files with 4 additions and 6 deletions

View File

@ -120,9 +120,8 @@ rem ***************************************************************************
shift & goto parseArgs
:prerequisites
rem Compiler and platform are required parameters.
rem Compiler is a required parameter
if not defined VC_VER goto syntax
if not defined BUILD_PLATFORM goto syntax
rem Default the start directory if one isn't specified
if not defined START_DIR set START_DIR=..\..\openssl
@ -312,7 +311,7 @@ rem ***************************************************************************
:syntax
rem Display the help
echo.
echo Usage: build-openssl ^<compiler^> ^<platform^> [configuration] [directory]
echo Usage: build-openssl ^<compiler^> [platform] [configuration] [directory]
echo.
echo Compiler:
echo.

View File

@ -107,9 +107,8 @@ rem ***************************************************************************
shift & goto parseArgs
:prerequisites
rem Compiler and platform are required parameters.
rem Compiler is a required parameter
if not defined VC_VER goto syntax
if not defined BUILD_PLATFORM goto syntax
rem Default the start directory if one isn't specified
if not defined START_DIR set START_DIR=..\..\wolfssl
@ -300,7 +299,7 @@ rem ***************************************************************************
:syntax
rem Display the help
echo.
echo Usage: build-wolfssl ^<compiler^> ^<platform^> [configuration] [directory]
echo Usage: build-wolfssl ^<compiler^> [platform] [configuration] [directory]
echo.
echo Compiler:
echo.