summaryrefslogtreecommitdiff
path: root/lang/ruby20/files/patch-ext__dl__extconf.rb
blob: bddc2036ae85bddbad9b38d1765ebd570baf87aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ext/dl/extconf.rb.orig	2014-02-24 15:49:13.436431209 +0000
+++ ext/dl/extconf.rb	2014-02-24 15:50:21.287476923 +0000
@@ -1,7 +1,7 @@
 require 'mkmf'
 
 if RbConfig::CONFIG['GCC'] == 'yes'
-  (have_macro("__clang__") ? $LDFLAGS : $CFLAGS) << " -fno-defer-pop"
+  $CFLAGS << " -fno-defer-pop" unless have_macro("__clang__")
   $CFLAGS << " -fno-omit-frame-pointer"
 end