[ruby-cvs:70836] normal:r63745 (trunk): mjit.c: set PIC flags on clang for FreeBSD and glibc

normal at ruby-lang.org normal at ruby-lang.org
Mon Jun 25 11:52:29 JST 2018


normal	2018-06-25 11:52:29 +0900 (Mon, 25 Jun 2018)

  New Revision: 63745

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63745

  Log:
    mjit.c: set PIC flags on clang for FreeBSD and glibc
    
    This seems required on FreeBSD 11.1 (clang 4.0.0) and
    Debian stretch (clang 3.8.1) for shared libraries.
    
    Note: Not checking __linux__ because there are statically-linked
    Linux distros (I don't know if they can support MJIT).  But
    glibc doesn't support static linking, so we guard on that.
    
    Maybe other platforms will need this, too.

  Modified files:
    trunk/mjit.c


More information about the ruby-cvs mailing list