You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rubygem-RedCloth/rubygem-redcloth-4.2.9-unsi...

13 lines
486 B

diff --git a/ext/redcloth_scan/extconf.rb b/ext/redcloth_scan/extconf.rb
index 506d4a3..edd46c4 100644
--- a/ext/redcloth_scan/extconf.rb
+++ b/ext/redcloth_scan/extconf.rb
@@ -1,6 +1,6 @@
require 'mkmf'
CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall ' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc/
dir_config("redcloth_scan")
have_library("c", "main")
create_makefile("redcloth_scan")