File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ function build_for ()
2020
2121 export CROSS_TOP=" ${! CROSS_TOP_ENV} "
2222 export CROSS_SDK=" ${! CROSS_SDK_ENV} "
23- ./Configure $PLATFORM no-asm no-ssl3 no-comp no-hw no-engine --prefix=${TMP_DIR} /${ARCH} || exit 1
23+ ./Configure $PLATFORM " -arch $ARCH -fembed-bitcode " no-asm no-ssl3 no-comp no-hw no-engine --prefix=${TMP_DIR} /${ARCH} || exit 1
2424 # problem of concurrent build; make -j8
2525 make && make install_sw || exit 2
2626 unset CROSS_TOP
@@ -32,9 +32,9 @@ function pack_for ()
3232 LIBNAME=$1
3333 mkdir -p ${TMP_DIR} /lib/
3434 ${DEVROOT} /usr/bin/lipo \
35- -arch x86_64 ${TMP_DIR} /x86_64/lib/lib${LIBNAME} .a \
36- -arch armv7s ${TMP_DIR} /armv7s/lib/lib${LIBNAME} .a \
37- -arch arm64 ${TMP_DIR} /arm64/lib/lib${LIBNAME} .a \
35+ ${TMP_DIR} /x86_64/lib/lib${LIBNAME} .a \
36+ ${TMP_DIR} /armv7s/lib/lib${LIBNAME} .a \
37+ ${TMP_DIR} /arm64/lib/lib${LIBNAME} .a \
3838 -output ${TMP_DIR} /lib/lib${LIBNAME} .a -create
3939}
4040
You can’t perform that action at this time.
0 commit comments