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:
parent
96ab37015e
commit
14c97cf9b6
1 changed files with 2 additions and 1 deletions
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue