Skip to content

Commit 223721c

Browse files
author
lzj
committed
1、修复x264编译i386错误
1 parent 74bfa9c commit 223721c

File tree

245 files changed

+3
-140633
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

245 files changed

+3
-140633
lines changed

3.4.2/build-x264-iOS.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
CONFIGURE_FLAGS="--enable-static --enable-pic --disable-cli"
66

77
ARCHS="arm64 armv7 armv7s x86_64 i386"
8-
#ARCHS="arm64"
98

109
# directories
1110
SOURCE="x264"

4.2/build-x264-iOS.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SRC_VERSION="20180426"
99
SRC_NAME="x264-$SRC_VERSION"
1010
SRC_PATH="$SHELL_PATH/$SRC_NAME"
1111
#编译的平台
12-
ARCHS="arm64 armv7 x86_64 i386"
12+
ARCHS="arm64 armv7 armv7s x86_64 i386"
1313
#输出路径
1414
PREFIX="$SHELL_PATH/x264-iOS"
1515

@@ -18,8 +18,6 @@ BUILD_ARCH=$1
1818
#最低触发的版本
1919
DEPLOYMENT_TARGET=$2
2020

21-
ARCHS="arm64 armv7 armv7s x86_64 i386"
22-
2321
CONFIGURE_FLAGS="--enable-static --enable-pic --disable-cli"
2422

2523
if [ ! "$BUILD_ARCH" ]
@@ -66,7 +64,7 @@ do
6664
HOST=
6765
else
6866
CFLAGS="$CFLAGS -mios-simulator-version-min=$DEPLOYMENT_TARGET"
69-
HOST="--host=x86_64-apple-darwin"
67+
HOST="--host=i386-apple-darwin"
7068
fi
7169
else
7270
PLATFORM="iPhoneOS"
@@ -92,7 +90,7 @@ do
9290
fi
9391
CXXFLAGS="$CFLAGS"
9492
LDFLAGS="$CFLAGS"
95-
echo CC=$CC
93+
echo "CXXFLAGS=$CXXFLAGS"
9694

9795
CC=$CC $SRC_PATH/configure \
9896
$CONFIGURE_FLAGS \

4.2/x264-20180426/.gitignore

Lines changed: 0 additions & 50 deletions
This file was deleted.

4.2/x264-20180426/AUTHORS

Lines changed: 0 additions & 99 deletions
This file was deleted.

0 commit comments

Comments
 (0)