diff options
author | gimli <ebsi4711@gmail.com> | 2012-08-12 08:56:45 +0200 |
---|---|---|
committer | gimli <ebsi4711@gmail.com> | 2012-08-12 08:56:45 +0200 |
commit | 177bc0b6e2c2ddb5e613d665f38750b4330c44c5 (patch) | |
tree | 0690e3d7e67e0188330679d3f801c2b160bba7c6 /configure.in | |
parent | 1892d3d398566f9f74fd7ffa5ba0e12ffba7876b (diff) |
[rbp] fixed crash in thumbnail extraction. disable all ffmpeg cpu options for now, until we figgured out which ones are safe to use on the PI arm core
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/configure.in b/configure.in index 4cc7abb78b..3cd1c57488 100644 --- a/configure.in +++ b/configure.in @@ -660,10 +660,10 @@ case $use_platform in use_texturepacker_native=yes use_arch="arm" use_cpu=arm1176jzf-s - use_armv5te="yes" + use_armv5te="no" use_armv6t2="no" - use_armv6="yes" - use_armvfp="yes" + use_armv6="no" + use_armvfp="no" use_hardcoded_tables="yes" use_alsa="yes" USE_TEXTUREPACKER_NATIVE_ROOT="$TEXTUREPACKER_NATIVE_ROOT" @@ -673,6 +673,7 @@ case $use_platform in USE_OMXLIB=1; AC_DEFINE([HAVE_OMXLIB],[1],["Define to 1 if OMX libs is enabled"]) CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" + ffmpeg_target_os=linux ;; *) use_alsa="yes" @@ -710,8 +711,13 @@ CXXFLAGS="$CXXFLAGS $DEBUG_FLAGS" if test "$use_optimizations" = "yes"; then final_message="$final_message\n Optimization:\tYes" - CXXFLAGS="$CXXFLAGS -O2" - CFLAGS="$CFLAGS -O2" + if test "$target_platform" = "target_raspberry_pi"; then + CXXFLAGS="$CXXFLAGS" + CFLAGS="$CFLAGS" + else + CXXFLAGS="$CXXFLAGS -O2" + CFLAGS="$CFLAGS -O2" + fi else final_message="$final_message\n Optimization:\tNo" fi |