Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
6e947739
Commit
6e947739
authored
Oct 03, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extras: prepare iOS build script for arm64
parent
94b63729
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
extras/package/ios/build.sh
extras/package/ios/build.sh
+13
-8
No files found.
extras/package/ios/build.sh
View file @
6e947739
...
...
@@ -3,8 +3,7 @@ set -e
PLATFORM
=
OS
VERBOSE
=
no
SDK_VERSION
=
6.1
SDK_MIN
=
5.1
SDK_VERSION
=
7.0
ARCH
=
armv7
usage
()
...
...
@@ -73,6 +72,12 @@ if [ "$VERBOSE" = "yes" ]; then
out
=
"/dev/stdout"
fi
if
[
"
$ARCH
"
=
"armv7"
]
;
then
SDK_MIN
=
5.1
else
SDK_MIN
=
7.0
fi
info
"Building libvlc for iOS"
if
[
"
$PLATFORM
"
=
"Simulator"
]
;
then
...
...
@@ -133,11 +138,11 @@ export STRIP="xcrun strip"
export
SDKROOT
if
[
"
$PLATFORM
"
=
"OS"
]
;
then
export
CFLAGS
=
"-isysroot
${
SDKROOT
}
-arch
${
ARCH
}
-mcpu=cortex-a8 -miphoneos-version-min=
${
SDK_MIN
}
${
OPTIM
}
"
else
export
CFLAGS
=
"-isysroot
${
SDKROOT
}
-arch
${
ARCH
}
-miphoneos-version-min=
${
SDK_MIN
}
${
OPTIM
}
"
CFLAGS
=
"-isysroot
${
SDKROOT
}
-arch
${
ARCH
}
-miphoneos-version-min=
${
SDK_MIN
}
${
OPTIM
}
"
if
[
"
$ARCH
"
=
"armv7"
-o
"
$ARCH
"
=
"armv7s"
]
;
then
CFLAGS+
=
"-mcpu=cortex-a8"
fi
export
CFLAGS
export
CPPFLAGS
=
"
${
CFLAGS
}
"
export
CXXFLAGS
=
"
${
CFLAGS
}
"
export
OBJCFLAGS
=
"
${
CFLAGS
}
"
...
...
@@ -159,8 +164,8 @@ else
fi
if
[
"
$PLATFORM
"
=
"OS"
]
;
then
EXTRA_CFLAGS
=
"-arch
${
ARCH
}
-mcpu=cortex-a8
"
EXTRA_LDFLAGS
=
"-arch
${
ARCH
}
"
EXTRA_CFLAGS
=
"-arch
${
ARCH
}
${
CFLAGS
}
"
EXTRA_LDFLAGS
=
"-arch
${
ARCH
}
${
LDFLAGS
}
"
else
EXTRA_CFLAGS
=
"-m32"
EXTRA_LDFLAGS
=
"-m32"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment