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

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

Issue 3417017: Update libvpx sources to v0.9.2-35-ga8a38bc. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 10 years, 3 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/libvpx/build/make/armlink_adapter.sh ('k') | source/libvpx/build/make/gen_asm_deps.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 60257)
+++ source/libvpx/build/make/configure.sh (working copy)
@@ -495,7 +495,7 @@
process_common_toolchain() {
if [ -z "$toolchain" ]; then
- gcctarget="$(gcc -dumpmachine 2> /dev/null)"
+ gcctarget="$(gcc -dumpmachine 2> /dev/null)"
# detect tgt_isa
case "$gcctarget" in
@@ -505,6 +505,12 @@
*i[3456]86*)
tgt_isa=x86
;;
+ *powerpc64*)
+ tgt_isa=ppc64
+ ;;
+ *powerpc*)
+ tgt_isa=ppc32
+ ;;
esac
# detect tgt_os
@@ -755,8 +761,8 @@
link_with_cc=gcc
setup_gnu_toolchain
add_asflags -force_cpusubtype_ALL -I"\$(dir \$<)darwin"
- add_cflags -maltivec -faltivec
soft_enable altivec
+ enabled altivec && add_cflags -maltivec
case "$tgt_os" in
linux*)
@@ -768,6 +774,7 @@
add_cflags ${darwin_arch} -m${bits} -fasm-blocks
add_asflags ${darwin_arch} -force_cpusubtype_ALL -I"\$(dir \$<)darwin"
add_ldflags ${darwin_arch} -m${bits}
+ enabled altivec && add_cflags -faltivec
;;
esac
;;
@@ -902,8 +909,8 @@
# glibc needs these
if enabled linux; then
- add_cflags -D_LARGEFILE_SOURCE
- add_cflags -D_FILE_OFFSET_BITS=64
+ add_cflags -D_LARGEFILE_SOURCE
+ add_cflags -D_FILE_OFFSET_BITS=64
fi
}
« no previous file with comments | « source/libvpx/build/make/armlink_adapter.sh ('k') | source/libvpx/build/make/gen_asm_deps.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698