The flag -fPIC is already set on CXXFLAGS by configure. For the mingw compiler, you should not use fPIC, see d44e7e35.
Created attachment 117382 [details] [review] Do not hardcode -fPIC in Makefile.am
Pushed.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.