Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
9c345b0b
Commit
9c345b0b
authored
May 02, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build with -mthumb when targetting armv7-a
TODO: --enable-thumb for ffmpeg
parent
fcf9d8e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
compile.sh
compile.sh
+6
-0
configure.sh
configure.sh
+2
-2
No files found.
compile.sh
View file @
9c345b0b
...
...
@@ -85,6 +85,12 @@ cd contrib/android
# TODO: mpeg2, dts, theora
if
test
-z
"
${
NO_NEON
}
"
-o
-n
"
${
TEGRA2
}
"
;
then
# assumes armv7-a
echo
"EXTRA_CFLAGS += -mthumb"
>>
config.mak
echo
"NOTHUMB := -marm"
>>
config.mak
fi
make fetch
make
...
...
configure.sh
View file @
9c345b0b
...
...
@@ -14,12 +14,12 @@ LDFLAGS="-Wl,-Bdynamic,-dynamic-linker=/system/bin/linker -Wl,--no-undefined"
if
[
-z
"
$NO_NEON
"
]
;
then
CXX_TARGET
=
"armeabi-v7a"
CFLAGS
=
"
$CFLAGS
-mfpu=neon -mcpu=cortex-a8"
CFLAGS
=
"
$CFLAGS
-mfpu=neon -mcpu=cortex-a8
-mthumb
"
LDFLAGS
=
"
$LDFLAGS
-Wl,--fix-cortex-a8"
EXTRA_PARAMS
=
" --enable-neon"
elif
[
-n
"
$TEGRA2
"
]
;
then
CXX_TARGET
=
"armeabi-v7a"
CFLAGS
=
"
$CFLAGS
-mfpu=vfpv3-d16 -mcpu=cortex-a9"
CFLAGS
=
"
$CFLAGS
-mfpu=vfpv3-d16 -mcpu=cortex-a9
-mthumb
"
EXTRA_PARAMS
=
" --disable-neon"
else
CXX_TARGET
=
"armeabi"
...
...
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