On Sun, 26 Jul 2015, Janne Grunau wrote:
On 2015-07-26 23:13:15 +0300, Martin Storsjö wrote:
---
Checking if _M_ARMT is defined, instead of checking _M_ARM >= 7.
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index d37341e..898205b 100755
--- a/configure
+++ b/configure
@@ -4007,6 +4007,7 @@ elif enabled alpha; then
elif enabled arm; then
+ enabled msvc && check_cpp_condition stddef.h "defined _M_ARMT" && enable
thumb
check_cpp_condition stddef.h "defined __thumb__" && enable_weak thumb
enabled thumb && check_cflags -mthumb || check_cflags -marm
is it possible to build/run in arm mode? if yes it should be
'enable_weak thumb' to allow --disable-thumb as configure option.
The C compiler itself only outputs thumb, I haven't seen any option for
targeting arm. For the asm code you could in theory build it in arm mode,
but iirc the linker still doesn't do all the necessary fixups for
interworking.
// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel