Project

General

Profile

Bug #12599 ยป inline-threshold.patch

noahgibbs (Noah Gibbs), 07/19/2016 09:09 PM

View differences:

ChangeLog
1
Wed Jul 20 05:46:17 2016  Noah Gibbs  <the.codefolio.guy@gmail.com>
2

  
3
	* configure.in: Default CLang to use -inline-threshold=5000
4

  
1 5
Tue Jul 19 18:21:17 2016  Martin Duerst  <duerst@it.aoyama.ac.jp>
2 6

  
3 7
	* lib/unicode_normalize/tables.rb: Remove
configure.in
971 971
	fi
972 972
    ])
973 973

  
974
    # For CLang, use a higher -inline-threshold
975
    for oflag in "-mllvm -inline-threshold=5000"; do
976
	RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(optflags, $oflag)])
977
    done
978

  
974 979
    # disable fast-math
975 980
    for oflag in -fno-fast-math; do
976 981
	RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(optflags, $oflag)])