Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e06e8b7
)
Thrift-1673: Ruby compile flags for extension for multi arch builds (os x)
author
Jake Farrell
<jfarrell@apache.org>
Thu, 9 Aug 2012 16:03:14 +0000
(16:03 +0000)
committer
Jake Farrell
<jfarrell@apache.org>
Thu, 9 Aug 2012 16:03:14 +0000
(16:03 +0000)
Client: ruby
Patch: Jake Farrell
Updating extension build to use ruby cflags which include the arch flags needed.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1371273
13f79535
-47bb-0310-9956-
ffa450edef68
lib/rb/ext/extconf.rb
patch
|
blob
|
history
diff --git
a/lib/rb/ext/extconf.rb
b/lib/rb/ext/extconf.rb
index
36dac9b
..
90a06b6
100644
(file)
--- a/
lib/rb/ext/extconf.rb
+++ b/
lib/rb/ext/extconf.rb
@@
-22,7
+22,7
@@
if defined?(RUBY_ENGINE) && RUBY_ENGINE =~ /jruby/
else
require 'mkmf'
- $CFLAGS = "-g -O2 -Wall -Werror
"
+ $CFLAGS = "-g -O2 -Wall -Werror
" + Config::CONFIG["CFLAGS"]
have_func("strlcpy", "string.h")