configure: Don't explicitly disable PIC for windows targets
authorMartin Storsjö <martin@martin.st>
Tue, 28 May 2013 12:10:37 +0000 (15:10 +0300)
committerMartin Storsjö <martin@martin.st>
Mon, 10 Jun 2013 11:32:10 +0000 (14:32 +0300)
commit3fd0d166aa240ef547482d1af397c4a653031c2d
tree0390040a0847b9c18f259d8609010d8174fbcd5b
parent2aa3325454545b63cd63e3d5884f8558790d51df
configure: Don't explicitly disable PIC for windows targets

This reverts e08c946c6 and 05165c2f7a. The actual intention of
e08c946c6 was to fix shared library builds for arm/win32, which
can also be accomplished in other ways.

Disabling pic on those platforms broke inline assembly on cygwin/64
(since some inline assembly requires knowing whether we are building
as PIC or not), and might also break inline assembly on other
compilers on windows.

As a side-effect, this unfortunately brings back all the warnings
about PIC not having any effect on that platform.

Signed-off-by: Martin Storsjö <martin@martin.st>
configure