#145 hardcoded -fpic limits portability

2.5.37
closed-fixed
Will Estes
5
2012-12-06
2012-11-13
No

Basically there is no -fPIC on MiNTOS, which is why the hard-coded -fPIC in Makefile.am is bad.
On Linux -fPIC is added automatically by libtool anyway.

The attached patch has been tested in Gentoo Prefix since 2008.

Discussion

  • Will Estes
    Will Estes
    2012-12-05

    I think rather than deleting the libfl_pic.a target, it'd be better to call libtool, which the flex build setup does not currently do.

    Can you submit a patch to do that?

     
  • Will Estes
    Will Estes
    2012-12-05

    • assigned_to: nobody --> wlestes
     
  • No problem, here is the patch to build all libs using GNU libtool.

     
  • Will Estes
    Will Estes
    2012-12-06

    Thanks for the patch. It's in the flex codebase and will be included in the next release of flex.

     
  • Will Estes
    Will Estes
    2012-12-06

    • labels: --> Compiling flex
    • milestone: --> 2.5.37
    • summary: add support for MiNTOS --> hardcoded -fpic limits portability
    • status: open --> closed-fixed