Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: source/libvpx/build/make/configure.sh

Issue 812033011: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/config/win/x64/vp9_rtcd.h ('k') | source/libvpx/build/make/iosbuild.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/libvpx/build/make/configure.sh
===================================================================
--- source/libvpx/build/make/configure.sh (revision 293588)
+++ source/libvpx/build/make/configure.sh (working copy)
@@ -805,7 +805,12 @@
;;
armv7|armv7s)
soft_enable neon
- soft_enable neon_asm
+ # Only enable neon_asm when neon is also enabled.
+ enabled neon && soft_enable neon_asm
+ # If someone tries to force it through, die.
+ if disabled neon && enabled neon_asm; then
+ die "Disabling neon while keeping neon-asm is not supported"
+ fi
soft_enable media
soft_enable fast_unaligned
;;
@@ -1118,7 +1123,7 @@
bits=32
enabled x86_64 && bits=64
check_cpp <<EOF && bits=x32
-#ifndef __ILP32__
+#if !defined(__ILP32__) || !defined(__x86_64__)
#error "not x32"
#endif
EOF
@@ -1267,9 +1272,6 @@
check_cc <<EOF && INLINE="inline"
static inline function() {}
EOF
- check_cc <<EOF && INLINE="__inline__ __attribute__((always_inline))"
-static __attribute__((always_inline)) function() {}
-EOF
# Almost every platform uses pthreads.
if enabled multithread; then
« no previous file with comments | « source/config/win/x64/vp9_rtcd.h ('k') | source/libvpx/build/make/iosbuild.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698