Skip to content

Commit

Permalink
Merge pull request #27 from terceiro/patch-1
Browse files Browse the repository at this point in the history
Revert special case for signed char in ARM
  • Loading branch information
knu committed Apr 11, 2017
2 parents 63df358 + fee5abd commit cf9223b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions ext/unf_ext/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,6 @@
have_library('stdc++')
end

case RUBY_PLATFORM
when /\Aarm/
# A quick fix for char being unsigned by default on ARM
if defined?($CXXFLAGS)
$CXXFLAGS << ' -fsigned-char'
else
# Ruby < 2.0
$CFLAGS << ' -fsigned-char'
end
end

create_makefile 'unf_ext'

unless CONFIG['CXX']
Expand Down

0 comments on commit cf9223b

Please sign in to comment.