Re: [libav-devel] [PATCH 2/4] configure: Don't add -fPIC to asflags when targeting windows

2017-10-12 Thread Diego Biurrun
On Thu, Oct 12, 2017 at 11:29:08AM +0300, Martin Storsjö wrote: > 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. (Th

[libav-devel] [PATCH 2/4] configure: Don't add -fPIC to asflags when targeting windows

2017-10-12 Thread Martin Storsjö
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 pi