1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/dl/extconf.rb: clang does not use -fno-defer-pop during compilation.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-02-09 16:41:08 +00:00
parent 96ab37015e
commit 14c97cf9b6

View file

@ -1,7 +1,8 @@
require 'mkmf' require 'mkmf'
if RbConfig::CONFIG['GCC'] == 'yes' if RbConfig::CONFIG['GCC'] == 'yes'
$CFLAGS << " -fno-defer-pop -fno-omit-frame-pointer" (have_macro("__clang__") ? $LDFLAGS : $CFLAGS) << " -fno-defer-pop"
$CFLAGS << " -fno-omit-frame-pointer"
end end
$INSTALLFILES = [ $INSTALLFILES = [