diff options
author | Martin Storsjö <martin@martin.st> | 2017-10-12 11:04:53 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2017-10-12 21:49:13 +0300 |
commit | 0ca66409911e9fba940424be8bdfa54e056b0a4b (patch) | |
tree | 89b5f7a12ca3000ab8feee92fd375ef902fd32fa /configure | |
parent | f951837ce58e8588b175fb53a76fd453a81528ec (diff) | |
download | ffmpeg-0ca66409911e9fba940424be8bdfa54e056b0a4b.tar.gz |
configure: Don't add -fPIC to asflags when targeting windows
On X86 windows, asflags weren't actually ever used for anything,
since assembling used x86asflags instead, and that flags list
had -DPIC already.
This fixes building shared libraries with clang for arm/aarch64
windows. (This wasn't an issue when in msvc mode before, since
we don't try to enable pic at all there, since the msvc armasm
assembler fails on our pic constructs there.)
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4219,9 +4219,9 @@ enable_weak_pic() { ;; *) add_cflags -fPIC + add_asflags -fPIC ;; esac - add_asflags -fPIC } enabled pic && enable_weak_pic |