-
-
Save carhartl/9d893b9710b284efea2d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ext/dl/extconf.rb b/ext/dl/extconf.rb | |
index 8317ac3..f1b3155 100644 | |
--- a/ext/dl/extconf.rb | |
+++ b/ext/dl/extconf.rb | |
@@ -1,7 +1,9 @@ | |
require 'mkmf' | |
if RbConfig::CONFIG['GCC'] == 'yes' | |
- $CFLAGS << " -fno-defer-pop -fno-omit-frame-pointer" | |
+ # $CFLAGS << " -fno-defer-pop -fno-omit-frame-pointer" | |
+ $CFLAGS << " -fno-defer-pop" unless have_macro("__clang__") | |
+ $CFLAGS << " -fno-omit-frame-pointer" | |
end | |
$INSTALLFILES = [ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adapted for 1.9.3-p392, install with rbenv: