Menu

#32 Only enable -fpic for non MinGW compilers

Unstable_(example)
closed
None
5
2016-03-29
2016-03-28
Pete Batard
No

-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

1 Attachments

Discussion

  • Nigel Croxon

    Nigel Croxon - 2016-03-29
    • status: open --> closed
    • assigned_to: Nigel Croxon
     
  • Nigel Croxon

    Nigel Croxon - 2016-03-29

    Fixed in commit 50b883773ffcc0189102a2e373fcf8c1ac2906e1

    Thank you for your contributions Pete.

     

Log in to post a comment.

MongoDB Logo MongoDB