diff --git a/build-libssl.sh b/build-libssl.sh index 686f887..ebfe4b0 100644 --- a/build-libssl.sh +++ b/build-libssl.sh @@ -32,7 +32,7 @@ DEFAULTTARGETS=`cat < "iOS", }, - ## Apple macOS - - # Base (arm64) - "darwin64-arm64-cc" => { - inherit_from => [ "darwin-common", asm("aarch64_asm") ], - CFLAGS => add("-Wall"), - cflags => add("-arch arm64"), - lib_cppflags => add("-DL_ENDIAN"), - bn_ops => "SIXTY_FOUR_BIT_LONG", - perlasm_scheme => "ios64", - }, - # Device "macos64-x86_64" => { inherit_from => [ "darwin64-x86_64-cc", "macos-base" ], @@ -134,6 +122,12 @@ my %targets = (); defines => [ "HAVE_FORK=0" ], sys_id => "WatchOS", }, + "watchos-sim-cross-arm64" => { + inherit_from => [ "darwin64-arm64-cc", "watchos-cross-base"], + cflags => add("-target arm64-apple-watchos7.2-simulator -mwatchos-version-min=7.2 -fembed-bitcode"), + defines => [ "HAVE_FORK=0" ], + sys_id => "WatchOS", + }, "watchos-sim-cross-i386" => { inherit_from => [ "darwin-common", "watchos-cross-base"], cflags => add("-arch i386 -fembed-bitcode"),