summaryrefslogtreecommitdiff
path: root/lib/rb
diff options
context:
space:
mode:
authorJake Farrell <jfarrell@apache.org>2013-03-23 22:56:13 -0400
committerJake Farrell <jfarrell@apache.org>2013-03-23 22:56:13 -0400
commita87cc5e7708ff7c3fcec1e05a0d70e1f7923e17f (patch)
tree22d1521c1e5ec8c9a2d6eef95fda1d6094106771 /lib/rb
parent60723b88ff62f90e031911be5d903f6da99d3c42 (diff)
downloadthrift-a87cc5e7708ff7c3fcec1e05a0d70e1f7923e17f.tar.gz
Thrift-1804: Ruby extension on ARM complains about signed chars
Client: rb Patch: Elias Karakoulakis Updated extension makefile to use signed char flag
Diffstat (limited to 'lib/rb')
-rw-r--r--lib/rb/ext/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rb/ext/extconf.rb b/lib/rb/ext/extconf.rb
index ed20f5618..96f6b4384 100644
--- 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")