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

Side by Side Diff: source/libvpx/build/make/configure.sh

Issue 181493009: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « source/libvpx/build/make/ads2armasm_ms.pl ('k') | source/libvpx/build/make/gen_msvs_proj.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 ## 2 ##
3 ## configure.sh 3 ## configure.sh
4 ## 4 ##
5 ## This script is sourced by the main configure script and contains 5 ## This script is sourced by the main configure script and contains
6 ## utility functions and other common bits that aren't strictly libvpx 6 ## utility functions and other common bits that aren't strictly libvpx
7 ## related. 7 ## related.
8 ## 8 ##
9 ## This build system is based in part on the FFmpeg configure script. 9 ## This build system is based in part on the FFmpeg configure script.
10 ## 10 ##
(...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after
1192 1192
1193 if enabled optimizations; then 1193 if enabled optimizations; then
1194 if enabled rvct; then 1194 if enabled rvct; then
1195 enabled small && check_add_cflags -Ospace || check_add_cflags -Otime 1195 enabled small && check_add_cflags -Ospace || check_add_cflags -Otime
1196 else 1196 else
1197 enabled small && check_add_cflags -O2 || check_add_cflags -O3 1197 enabled small && check_add_cflags -O2 || check_add_cflags -O3
1198 fi 1198 fi
1199 fi 1199 fi
1200 1200
1201 # default use_x86inc to yes if pic is no or 64bit or we are not on darwin 1201 # default use_x86inc to yes if pic is no or 64bit or we are not on darwin
1202 echo " checking here for x86inc \"${tgt_isa}\" \"$pic\" " 1202 if [ ${tgt_isa} = x86_64 -o ! "$pic" = "yes" -o \
1203 if [ ${tgt_isa} = x86_64 -o ! "$pic" = "yes" -o "${tgt_os#darwin}" = "${tgt_ os}" ]; then 1203 "${tgt_os#darwin}" = "${tgt_os}" ]; then
1204 soft_enable use_x86inc 1204 soft_enable use_x86inc
1205 fi 1205 fi
1206 1206
1207 # Position Independent Code (PIC) support, for building relocatable 1207 # Position Independent Code (PIC) support, for building relocatable
1208 # shared objects 1208 # shared objects
1209 enabled gcc && enabled pic && check_add_cflags -fPIC 1209 enabled gcc && enabled pic && check_add_cflags -fPIC
1210 1210
1211 # Work around longjmp interception on glibc >= 2.11, to improve binary 1211 # Work around longjmp interception on glibc >= 2.11, to improve binary
1212 # compatibility. See http://code.google.com/p/webm/issues/detail?id=166 1212 # compatibility. See http://code.google.com/p/webm/issues/detail?id=166
1213 enabled linux && check_add_cflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 1213 enabled linux && check_add_cflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
1340 # Prepare the PWD for building. 1340 # Prepare the PWD for building.
1341 for f in ${OOT_INSTALLS}; do 1341 for f in ${OOT_INSTALLS}; do
1342 install -D ${source_path}/$f $f 1342 install -D ${source_path}/$f $f
1343 done 1343 done
1344 fi 1344 fi
1345 cp ${source_path}/build/make/Makefile . 1345 cp ${source_path}/build/make/Makefile .
1346 1346
1347 clean_temp_files 1347 clean_temp_files
1348 true 1348 true
1349 } 1349 }
OLDNEW
« no previous file with comments | « source/libvpx/build/make/ads2armasm_ms.pl ('k') | source/libvpx/build/make/gen_msvs_proj.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698