Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
f2cc02bf
Commit
f2cc02bf
authored
Oct 05, 2012
by
Jean-Baptiste Kempf
Browse files
Contribs: activate thumb2 on ARMv7-a cpu, not only NEON ones
parent
8db3bdf8
Changes
2
Hide whitespace changes
Inline
Side-by-side
contrib/bootstrap
View file @
f2cc02bf
...
...
@@ -192,6 +192,7 @@ check_android_sdk()
[
-z
"
${
ANDROID_ABI
}
"
]
&&
echo
"You must set ANDROID_ABI environment variable"
&&
exit
1
add_make
"ANDROID_ABI :=
${
ANDROID_ABI
}
"
test
-z
"
${
NO_NEON
}
"
&&
add_make_enabled
"HAVE_NEON"
[
${
ANDROID_ABI
}
=
"armeabi-v7a"
]
&&
add_make_enabled
"HAVE_ARMV7A"
}
test
-z
"
$PREFIX
"
||
add_make
"PREFIX :=
$PREFIX
"
...
...
@@ -211,7 +212,7 @@ case "${OS}" in
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"
add_make_enabled
"HAVE_IOS"
"HAVE_DARWIN_OS"
"HAVE_BSD"
"HAVE_NEON"
"HAVE_ARMV7A"
fi
;;
*
bsd
*
)
...
...
contrib/src/ffmpeg/rules.mak
View file @
f2cc02bf
...
...
@@ -33,8 +33,8 @@ endif
ifdef
ENABLE_SMALL
FFMPEGCONF
+=
--enable-small
--optflags
=
-O2
ifeq
($(ARCH),arm)
ifdef
HAVE_
NEON
# XXX: assumes
CPU >= cortex-a8
, and thus thumb2
able
ifdef
HAVE_
ARMV7A
# XXX: assumes
> ARMv7-A
, and thus thumb2
-
able
FFMPEGCONF
+=
--enable-thumb
endif
endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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