Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
0b0545eb
Commit
0b0545eb
authored
Oct 08, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ios: unbreak freetype contrib compilation with Xcode 5 and simplify the FLAG handling quite a bit
parent
5d15f59a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
27 deletions
+3
-27
contrib/bootstrap
contrib/bootstrap
+0
-19
contrib/src/main.mak
contrib/src/main.mak
+2
-2
extras/package/ios/build.sh
extras/package/ios/build.sh
+1
-6
No files found.
contrib/bootstrap
View file @
0b0545eb
...
...
@@ -177,24 +177,6 @@ check_macosx_sdk()
add_make
"OSX_VERSION ?=
${
OSX_VERSION
}
"
}
check_ios_sdk
()
{
if
test
-z
"
$SDKROOT
"
then
SDKROOT
=
`
xcode-select
-print-path
`
/Platforms/iPhone
${
PLATFORM
}
.platform/Developer/SDKs/iPhone
${
PLATFORM
}${
SDK_VERSION
}
.sdk
echo
"SDKROOT not specified, assuming
$SDKROOT
"
else
SDKROOT
=
"
$SDKROOT
"
fi
if
[
!
-d
"
${
SDKROOT
}
"
]
then
echo
"***
${
SDKROOT
}
does not exist, please install required SDK, or set SDKROOT manually. ***"
exit
1
fi
add_make
"SDKROOT=
${
SDKROOT
}
"
}
check_android_sdk
()
{
[
-z
"
${
ANDROID_NDK
}
"
]
&&
echo
"You must set ANDROID_NDK environment variable"
&&
exit
1
...
...
@@ -224,7 +206,6 @@ case "${OS}" in
check_macosx_sdk
add_make_enabled
"HAVE_MACOSX"
"HAVE_DARWIN_OS"
"HAVE_BSD"
else
check_ios_sdk
add_make_enabled
"HAVE_IOS"
"HAVE_DARWIN_OS"
"HAVE_BSD"
"HAVE_NEON"
"HAVE_ARMV7A"
fi
;;
...
...
contrib/src/main.mak
View file @
0b0545eb
...
...
@@ -138,8 +138,8 @@ AR=xcrun ar
LD
=
xcrun ld
STRIP
=
xcrun strip
RANLIB
=
xcrun ranlib
EXTRA_CFLAGS
+=
-isysroot
$(SDKROOT
)
EXTRA_LDFLAGS
+=
-Wl
,-syslibroot,
$(SDKROOT)
-isysroot
$(SDKROOT
)
EXTRA_CFLAGS
+=
$(CFLAGS
)
EXTRA_LDFLAGS
+=
$(LDFLAGS
)
endif
ifdef
HAVE_WIN32
...
...
extras/package/ios/build.sh
View file @
0b0545eb
...
...
@@ -137,7 +137,6 @@ export LD="xcrun ld"
export
STRIP
=
"xcrun strip"
export
SDKROOT
CFLAGS
=
"-isysroot
${
SDKROOT
}
-arch
${
ARCH
}
-miphoneos-version-min=
${
SDK_MIN
}
${
OPTIM
}
"
if
[
"
$ARCH
"
=
"armv7"
-o
"
$ARCH
"
=
"armv7s"
]
;
then
CFLAGS+
=
" -mcpu=cortex-a8"
...
...
@@ -157,11 +156,7 @@ if [ "$PLATFORM" = "Simulator" ]; then
export
OBJCFLAGS
=
"-fobjc-abi-version=2 -fobjc-legacy-dispatch
${
OBJCFLAGS
}
"
fi
if
[
"
$PLATFORM
"
=
"OS"
]
;
then
export
LDFLAGS
=
"-L
${
SDKROOT
}
/usr/lib -arch
${
ARCH
}
-isysroot
${
SDKROOT
}
-miphoneos-version-min=
${
SDK_MIN
}
"
else
export
LDFLAGS
=
"-syslibroot=
${
SDKROOT
}
/ -arch
${
ARCH
}
-miphoneos-version-min=
${
SDK_MIN
}
"
fi
export
LDFLAGS
=
"-L
${
SDKROOT
}
/usr/lib -arch
${
ARCH
}
-isysroot
${
SDKROOT
}
-miphoneos-version-min=
${
SDK_MIN
}
"
if
[
"
$PLATFORM
"
=
"OS"
]
;
then
EXTRA_CFLAGS
=
"-arch
${
ARCH
}
${
CFLAGS
}
"
...
...
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