Only enable -fpic for non MinGW compilers
Brought to you by:
noxorc
-fpic is not needed for MinGW, and MinGW32 issues a warning as a result, which breaks gnu-efi compilation due to -Werror:
gnu-efi/lib/boxdraw.c:1:0: error: -fpic ignored for target (all code is position independent) [-Werror]
This patch ensures that -fpic is disabled when MinGW is used.
Regards,
/Pete
Fixed in commit 50b883773ffcc0189102a2e373fcf8c1ac2906e1
Thank you for your contributions Pete.