diff options
author | Martin Storsjö <martin@martin.st> | 2013-05-07 19:25:03 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-05-12 19:45:33 +0300 |
commit | e08c946c6860a78b0c479551d5f6735361160cbd (patch) | |
tree | 1fc3ac52e89058763bcd4c09d26add310aef9c68 /libavcodec/arm/dcadsp_init_arm.c | |
parent | b1803c79dcd6d0a345fa1cbe18dd8e2149717121 (diff) | |
download | ffmpeg-e08c946c6860a78b0c479551d5f6735361160cbd.tar.gz |
configure: Explicitly disable PIC when targeting win32/mingw
These platforms do not have any notion of PIC. On some compilers,
enabling pic produces a number of warnings.
This avoids trying to produce PIC loads in the ARM assembly - there
are no relocation types in PE/COFF that correspond to
BFD_RELOC_32_PCREL (R_ARM_REL32 in ELF).
As a side-effect, this avoids enabling PIC on mingw64, getting rid
of the warnings about PIC not having any effect on that platform.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/arm/dcadsp_init_arm.c')
0 files changed, 0 insertions, 0 deletions