File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ buildCatalyst()
207
207
ARCH=$1
208
208
209
209
# disabe bitcode for openssl 3
210
- if [[ " $OPENSSL_VERSION " = " openssl-3.0 " * ]]; then
210
+ if [[ " $OPENSSL_VERSION " = " openssl-3" * ]]; then
211
211
CC_BITCODE_FLAG=" "
212
212
else
213
213
CC_BITCODE_FLAG=" -fembed-bitcode"
@@ -312,7 +312,7 @@ buildTVOS()
312
312
LANG=C sed -i -- ' s/fork()/-1/' " ./test/drbgtest.c"
313
313
LANG=C sed -i -- ' s/!defined(OPENSSL_NO_ASYNC)/defined(HAVE_FORK)/' " ./crypto/async/arch/async_posix.h"
314
314
fi
315
- if [[ " $OPENSSL_VERSION " = " openssl-3.0 " * ]]; then
315
+ if [[ " $OPENSSL_VERSION " = " openssl-3" * ]]; then
316
316
# LANG=C sed -i -- 's/!defined(OPENSSL_NO_POSIX_IO)/defined(HAVE_FORK)/' "./apps/ocsp.c"
317
317
LANG=C sed -i -- ' s/fork()/-1/' " ./apps/speed.c"
318
318
LANG=C sed -i -- ' s/fork()/-1/' " ./apps/lib/http_server.c"
@@ -393,7 +393,7 @@ buildTVOSsim()
393
393
LANG=C sed -i -- ' s/fork()/-1/' " ./test/drbgtest.c"
394
394
LANG=C sed -i -- ' s/!defined(OPENSSL_NO_ASYNC)/defined(HAVE_FORK)/' " ./crypto/async/arch/async_posix.h"
395
395
fi
396
- if [[ " $OPENSSL_VERSION " = " openssl-3.0 " * ]]; then
396
+ if [[ " $OPENSSL_VERSION " = " openssl-3" * ]]; then
397
397
# LANG=C sed -i -- 's/!defined(OPENSSL_NO_POSIX_IO)/defined(HAVE_FORK)/' "./apps/ocsp.c"
398
398
LANG=C sed -i -- ' s/fork()/-1/' " ./apps/speed.c"
399
399
LANG=C sed -i -- ' s/fork()/-1/' " ./apps/lib/http_server.c"
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ buildIOS()
151
151
export BUILD_TOOLS=" ${DEVELOPER} "
152
152
ADDCFLAG=" "
153
153
DSO_LDFLAGS=" DSO_LDFLAGS=-fembed-bitcode"
154
- if [[ " $OPENSSL_VERSION " = " openssl-3.0 " * ]]; then
154
+ if [[ " $OPENSSL_VERSION " = " openssl-3" * ]]; then
155
155
# disable bitcode for openssl 3
156
156
export CC=" ${BUILD_TOOLS} /usr/bin/gcc -arch ${ARCH} "
157
157
DSO_LDFLAGS=" "
@@ -220,7 +220,7 @@ buildIOSsim()
220
220
fi
221
221
222
222
# set up exports for build
223
- if [[ " $OPENSSL_VERSION " = " openssl-3.0 " * ]]; then
223
+ if [[ " $OPENSSL_VERSION " = " openssl-3" * ]]; then
224
224
if [[ " ${ARCH} " == " armv7" || " ${ARCH} " == " armv7s" || " ${ARCH} " == " i386" ]]; then
225
225
# armv7 and i386 doesn't work with atomic
226
226
export CFLAGS=" -Os -miphoneos-version-min=${MIPHONEOS} -DBROKEN_CLANG_ATOMICS -arch ${ARCH} ${RUNTARGET} "
You can’t perform that action at this time.
0 commit comments