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:
60723b8
)
Thrift-1804: Ruby extension on ARM complains about signed chars
author
Jake Farrell
<jfarrell@apache.org>
Sun, 24 Mar 2013 02:56:13 +0000
(22:56 -0400)
committer
Jake Farrell
<jfarrell@apache.org>
Sun, 24 Mar 2013 02:56:13 +0000
(22:56 -0400)
Client: rb
Patch: Elias Karakoulakis
Updated extension makefile to use signed char flag
lib/rb/ext/extconf.rb
patch
|
blob
|
history
diff --git
a/lib/rb/ext/extconf.rb
b/lib/rb/ext/extconf.rb
index
ed20f56
..
96f6b43
100644
(file)
--- a/
lib/rb/ext/extconf.rb
+++ b/
lib/rb/ext/extconf.rb
@@
-24,7
+24,7
@@
else
$ARCH_FLAGS = Config::CONFIG['CFLAGS'].scan( /(-arch )(\S+)/ ).map{|x,y| x + y + ' ' }.join('')
- $CFLAGS = "-g -O2 -Wall -Werror " + $ARCH_FLAGS
+ $CFLAGS = "-
fsigned-char -
g -O2 -Wall -Werror " + $ARCH_FLAGS
have_func("strlcpy", "string.h")