aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-05-28 15:08:57 +0300
committerMartin Storsjö <martin@martin.st>2013-06-10 14:32:06 +0300
commit2aa3325454545b63cd63e3d5884f8558790d51df (patch)
treea678d068013bd444c97ce059ab12951dfd918901 /configure
parent252ee3d39b899f5bf11af4b5d6d7f117f622a9d7 (diff)
downloadffmpeg-2aa3325454545b63cd63e3d5884f8558790d51df.tar.gz
configure: arm: Don't try to enable pic for shared libraries on win32
The object file format doesn't support PIC loads in ARM assembly, there are no relocation types in PE/COFF that correspond to BFD_RELOC_32_PCREL (R_ARM_REL32 in ELF). Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index be96eb1141..9644f03746 100755
--- a/configure
+++ b/configure
@@ -3426,7 +3426,7 @@ EOF
check_inline_asm asm_mod_q '"add r0, %Q0, %R0" :: "r"((long long)0)'
check_inline_asm asm_mod_y '"vmul.i32 d0, d0, %y0" :: "x"(0)'
- enabled_all armv6t2 shared !pic && enable_weak_pic
+ [ $target_os != win32 ] && enabled_all armv6t2 shared !pic && enable_weak_pic
elif enabled mips; then