Commit 17cc6c07 authored by Sébastien Toque's avatar Sébastien Toque

if ndk 8b, build with gcc 4.4.3.

There is a regression in gcc 4.6, DECL_USER_ALIGN is not handled properly,
 variables are not aligned, causing a crash in avcodec when decoding aac sbr with neon.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52181
parent 38de25d3
...@@ -22,8 +22,8 @@ case "$REL" in ...@@ -22,8 +22,8 @@ case "$REL" in
;; ;;
8?) 8?)
# NDK >= v8b, both 4.4.3 and 4.6 available, we use 4.6 # NDK >= v8b, both 4.4.3 and 4.6 available, we use 4.6
GCCVER=4.6 GCCVER=4.4.3
CXXSTL="/4.6" CXXSTL="/4.4.3"
;; ;;
*) *)
echo "You need the NDKv7 or later" echo "You need the NDKv7 or later"
......
APP_PLATFORM := android-9 APP_PLATFORM := android-9
APP_ABI := $(ANDROID_ABI) APP_ABI := $(ANDROID_ABI)
NDK_TOOLCHAIN_VERSION=4.4.3
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment