[ruby-cvs:73264] k0kubun:r66164 (trunk): mjit.c: eliminate -save-temps flag

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Mon Dec 3 21:32:01 JST 2018


k0kubun	2018-12-03 21:32:01 +0900 (Mon, 03 Dec 2018)

  New Revision: 66164

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

  Log:
    mjit.c: eliminate -save-temps flag
    
    in a new variable cc_common_args.
    
    `cflags=-save-temps=obj` makes MJIT fail like:
    https://rubyci.org/logs/www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20181203T095000Z.log.html.gz
    
    This rubyci specifies -save-temps=obj in CFLAGS to use update-deps, and
    the flag is harmful when we want to use -pipe flag.
    
    mjit_worker.c: prefer cc_common_args over CC_COMMON_ARGS

  Modified files:
    trunk/mjit.c
    trunk/mjit_worker.c


More information about the ruby-cvs mailing list