Browse Source
Defining a custom strtod on arm when using hard float breaks since the function is marked in system headers as expecting a soft abi. Hopefully strtod works on Android 5.0+ so the strtod workaround is no longer needed. Fixes #179.android-5
Fredrik Fornwall
9 years ago
4 changed files with 71 additions and 11 deletions
@ -0,0 +1,19 @@ |
|||||
|
Avoid issue with strtod on arm: |
||||
|
https://github.com/termux/termux-packages/issues/179 |
||||
|
|
||||
|
diff -u -r ../ffmpeg-3.0/configure ./configure
|
||||
|
--- ../ffmpeg-3.0/configure 2016-02-14 21:29:37.000000000 -0500
|
||||
|
+++ ./configure 2016-03-24 20:44:33.472274113 -0400
|
||||
|
@@ -4814,12 +4814,6 @@
|
||||
|
probe_libc host_ |
||||
|
test -n "$host_libc_type" && enable host_libc_$host_libc_type |
||||
|
|
||||
|
-case $libc_type in
|
||||
|
- bionic)
|
||||
|
- add_compat strtod.o strtod=avpriv_strtod
|
||||
|
- ;;
|
||||
|
-esac
|
||||
|
-
|
||||
|
# hacks for compiler/libc/os combinations |
||||
|
|
||||
|
if enabled_all tms470 libc_glibc; then |
@ -0,0 +1,19 @@ |
|||||
|
Avoid issue with strtod on arm: |
||||
|
https://github.com/termux/termux-packages/issues/179 |
||||
|
|
||||
|
diff -u -r ../libav-11.6/configure ./configure
|
||||
|
--- ../libav-11.6/configure 2016-02-26 18:05:55.000000000 -0500
|
||||
|
+++ ./configure 2016-03-24 20:59:15.095178594 -0400
|
||||
|
@@ -3673,12 +3673,6 @@
|
||||
|
probe_libc host_ |
||||
|
test -n "$host_libc_type" && enable host_libc_$host_libc_type |
||||
|
|
||||
|
-case $libc_type in
|
||||
|
- bionic)
|
||||
|
- add_compat strtod.o strtod=avpriv_strtod
|
||||
|
- ;;
|
||||
|
-esac
|
||||
|
-
|
||||
|
# hacks for compiler/libc/os combinations |
||||
|
|
||||
|
if enabled_all tms470 libc_glibc; then |
Loading…
Reference in new issue