[ruby-cvs:70919] ngoto:r63828 (trunk): Makefile.in: ARCH_FLAG may contain "-m64" etc.

ngoto at ruby-lang.org ngoto at ruby-lang.org
Mon Jul 2 22:50:53 JST 2018


ngoto	2018-07-02 22:50:53 +0900 (Mon, 02 Jul 2018)

  New Revision: 63828

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

  Log:
    Makefile.in: ARCH_FLAG may contain "-m64" etc.
    
    * Makefile.in (mjit_config.h): ARCH_FLAG may contain "-m64", "-m32",
      "-march=i486" and so on, but the change made with r63232 only
      supports "-arch AAA -arch BBB" mainly used on Mac OS X.
      To solve the issue, ARCH_FLAG is parsed and the architectures
      specified in "-arch XXX" are added to $archs and the rest is
      stored to $arch_flag. The $arch_flag is defined as MJIT_ARCHFLAG
      if $archs is empty or the target architecture is not listed in $arch.
      Fix build failure on Solaris 10 with ./configure CFLAGS="-m64".
      [Bug #14876] [ruby-dev:50583]

  Modified files:
    trunk/Makefile.in


More information about the ruby-cvs mailing list